Add comprehensive .d.ts files for all JS modules imported by TypeScript source. Update .gitignore to allow src/resources/extensions/**/*.d.ts (hand-written declarations for JS modules) while keeping src/**/*.d.ts ignored for compiled output. - preferences: 16 exported functions - preferences-models: 20 exported functions including isProviderModelAllowed - gitignore: 6 exported functions - agentic-docs-scaffold: SCAFFOLD_FILES + ensureAgenticDocsScaffold - doc-checker: DocCheckResult interface with summary stub/missing counts - code-intelligence: 21 exports including backend constants, optional prefs param - native-git-bridge: 50+ git operations - paths: 30+ path resolution functions - repo-identity: 9 exported functions - trace-collector: Span/Trace interfaces + 12 functions - types: SFState interface with activeMilestone/phase/nextAction - doctor: 5 exported functions including runSFDoctor - url-utils: 8 exported functions - config: RemoteConfig interface + 4 functions
97 lines
1.7 KiB
Text
97 lines
1.7 KiB
Text
|
|
# ── Compiled test output ──
|
|
dist-test/
|
|
|
|
# ── Compiled output in src/ (should only contain .ts source) ──
|
|
src/**/*.js
|
|
src/**/*.js.map
|
|
src/**/*.d.ts
|
|
src/**/*.d.ts.map
|
|
!src/**/*.test.js
|
|
# Allow hand-written .d.ts for JS modules consumed by TypeScript
|
|
!src/resources/extensions/**/*.d.ts
|
|
|
|
# ── Repowise index (local machine-generated cache) ──
|
|
.repowise/
|
|
|
|
# ── SF project state (development-only, lives in worktree branches) ──
|
|
package-lock.json
|
|
.claude/
|
|
RELEASE-GUIDE.md
|
|
*.tgz
|
|
*.tsbuildinfo
|
|
.DS_Store
|
|
Thumbs.db
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.idea/
|
|
.vscode/
|
|
*.code-workspace
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
node_modules/
|
|
.next/
|
|
/dist/
|
|
!/pkg/dist/modes/
|
|
!/pkg/dist/core/export-html/
|
|
build/
|
|
__pycache__/
|
|
*.pyc
|
|
.venv/
|
|
venv/
|
|
target/
|
|
vendor/
|
|
!packages/pi-coding-agent/src/core/export-html/vendor/
|
|
!pkg/dist/core/export-html/vendor/
|
|
*.log
|
|
coverage/
|
|
.cache/
|
|
tmp/
|
|
|
|
# ── Workspace packages ──
|
|
packages/*/dist/
|
|
packages/*/node_modules/
|
|
|
|
# ── Scratch/WIP files ──
|
|
preflight-script.ts
|
|
|
|
# ── SF baseline (auto-generated) ──
|
|
dist/
|
|
!/pkg/dist/modes/
|
|
!/pkg/dist/core/export-html/
|
|
.bg_shell
|
|
.sf*.tgz
|
|
.artifacts/
|
|
AGENTS.md
|
|
.bg-shell/
|
|
TODOS.md
|
|
.planning/
|
|
.audits/
|
|
docs/coherence-audit/
|
|
.plans/
|
|
|
|
# ── SF project state (per-worktree, never committed) ──
|
|
# Runtime-only patterns are managed per-clone in .git/info/exclude by sf.
|
|
# Tracked artifacts (.sf/milestones/, .sf/PROJECT.md, etc.) live in version control.
|
|
|
|
# ── Native Rust build outputs ──
|
|
native/addon/*.node
|
|
native/npm/**/*.node
|
|
native/target/
|
|
rust-engine/addon/*.node
|
|
rust-engine/npm/
|
|
rust-engine/target/
|
|
|
|
# ── Stale lock files (npm is canonical) ──
|
|
pnpm-lock.yaml
|
|
bun.lock
|
|
|
|
# ── SF baseline (auto-generated) ──
|
|
.sf-id
|
|
.direnv/
|
|
.envrc
|
|
.serena/
|
|
repowise.db
|
|
.sf/mcp.json
|