@cchistory/lite 0.8.3 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INSTALL.md +1 -1
- package/apps/lite-cli/dist/agent-contract.d.ts.map +1 -1
- package/apps/lite-cli/dist/agent-contract.js +41 -2
- package/apps/lite-cli/dist/agent-contract.js.map +1 -1
- package/apps/lite-cli/dist/help.js +5 -5
- package/apps/lite-cli/dist/index.d.ts.map +1 -1
- package/apps/lite-cli/dist/index.js +148 -17
- package/apps/lite-cli/dist/index.js.map +1 -1
- package/apps/lite-cli/dist/index.test.js +114 -95
- package/apps/lite-cli/dist/index.test.js.map +1 -1
- package/apps/lite-cli/dist/inventory-and-git.test.d.ts +7 -0
- package/apps/lite-cli/dist/inventory-and-git.test.d.ts.map +1 -0
- package/apps/lite-cli/dist/inventory-and-git.test.js +776 -0
- package/apps/lite-cli/dist/inventory-and-git.test.js.map +1 -0
- package/apps/lite-cli/dist/inventory-command.d.ts +30 -0
- package/apps/lite-cli/dist/inventory-command.d.ts.map +1 -0
- package/apps/lite-cli/dist/inventory-command.js +265 -0
- package/apps/lite-cli/dist/inventory-command.js.map +1 -0
- package/apps/lite-cli/dist/json-v2.d.ts +2 -2
- package/apps/lite-cli/dist/json-v2.d.ts.map +1 -1
- package/apps/lite-cli/dist/json-v2.js +9 -3
- package/apps/lite-cli/dist/json-v2.js.map +1 -1
- package/apps/lite-cli/dist/project-git-command.d.ts +28 -0
- package/apps/lite-cli/dist/project-git-command.d.ts.map +1 -0
- package/apps/lite-cli/dist/project-git-command.js +288 -0
- package/apps/lite-cli/dist/project-git-command.js.map +1 -0
- package/apps/lite-cli/dist/startup-render.d.ts +10 -0
- package/apps/lite-cli/dist/startup-render.d.ts.map +1 -0
- package/apps/lite-cli/dist/startup-render.js +335 -0
- package/apps/lite-cli/dist/startup-render.js.map +1 -0
- package/apps/lite-cli/dist/version.d.ts +1 -1
- package/apps/lite-cli/dist/version.js +1 -1
- package/apps/lite-tui/dist/render.d.ts +1 -1
- package/apps/lite-tui/dist/version.d.ts +1 -1
- package/apps/lite-tui/dist/version.js +1 -1
- package/docs/guide/for-agents.md +14 -0
- package/docs/guide/lite.md +53 -2
- package/node_modules/@cchistory/canonical/dist/agent-inventory.d.ts +25 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.js +345 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.test.d.ts +7 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.test.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.test.js +231 -0
- package/node_modules/@cchistory/canonical/dist/agent-inventory.test.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/directory-scope.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/directory-scope.js +4 -1
- package/node_modules/@cchistory/canonical/dist/directory-scope.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/index.d.ts +2 -0
- package/node_modules/@cchistory/canonical/dist/index.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/index.js +2 -0
- package/node_modules/@cchistory/canonical/dist/index.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/project-merge.d.ts +42 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.js +396 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.test.d.ts +7 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.test.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.test.js +319 -0
- package/node_modules/@cchistory/canonical/dist/project-merge.test.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/query.js +1 -1
- package/node_modules/@cchistory/canonical/dist/query.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/session-interpreter.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/session-interpreter.js +38 -0
- package/node_modules/@cchistory/canonical/dist/session-interpreter.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/tool-call-summary.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/tool-call-summary.js +18 -2
- package/node_modules/@cchistory/canonical/dist/tool-call-summary.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-anomalies.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-anomalies.js +2 -0
- package/node_modules/@cchistory/canonical/dist/usage-anomalies.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-call-evaluation.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-call-evaluation.js +4 -1
- package/node_modules/@cchistory/canonical/dist/usage-call-evaluation.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-trace.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-trace.js +3 -1
- package/node_modules/@cchistory/canonical/dist/usage-trace.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage-trace.test.js +73 -0
- package/node_modules/@cchistory/canonical/dist/usage-trace.test.js.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage.d.ts +1 -0
- package/node_modules/@cchistory/canonical/dist/usage.d.ts.map +1 -1
- package/node_modules/@cchistory/canonical/dist/usage.js +23 -17
- package/node_modules/@cchistory/canonical/dist/usage.js.map +1 -1
- package/node_modules/@cchistory/canonical/package.json +1 -1
- package/node_modules/@cchistory/domain/dist/agent-inventory.d.ts +146 -0
- package/node_modules/@cchistory/domain/dist/agent-inventory.d.ts.map +1 -0
- package/node_modules/@cchistory/domain/dist/agent-inventory.js +9 -0
- package/node_modules/@cchistory/domain/dist/agent-inventory.js.map +1 -0
- package/node_modules/@cchistory/domain/dist/agent-startup.d.ts +362 -0
- package/node_modules/@cchistory/domain/dist/agent-startup.d.ts.map +1 -0
- package/node_modules/@cchistory/domain/dist/agent-startup.js +8 -0
- package/node_modules/@cchistory/domain/dist/agent-startup.js.map +1 -0
- package/node_modules/@cchistory/domain/dist/index.d.ts +8 -1
- package/node_modules/@cchistory/domain/dist/index.d.ts.map +1 -1
- package/node_modules/@cchistory/domain/dist/index.js +3 -0
- package/node_modules/@cchistory/domain/dist/index.js.map +1 -1
- package/node_modules/@cchistory/domain/dist/index.test.js +27 -1
- package/node_modules/@cchistory/domain/dist/index.test.js.map +1 -1
- package/node_modules/@cchistory/domain/dist/project-git.d.ts +121 -0
- package/node_modules/@cchistory/domain/dist/project-git.d.ts.map +1 -0
- package/node_modules/@cchistory/domain/dist/project-git.js +93 -0
- package/node_modules/@cchistory/domain/dist/project-git.js.map +1 -0
- package/node_modules/@cchistory/domain/dist/token-evidence.d.ts.map +1 -1
- package/node_modules/@cchistory/domain/dist/token-evidence.js +3 -1
- package/node_modules/@cchistory/domain/dist/token-evidence.js.map +1 -1
- package/node_modules/@cchistory/domain/package.json +1 -1
- package/node_modules/@cchistory/live-runtime/dist/index.d.ts +4 -1
- package/node_modules/@cchistory/live-runtime/dist/index.d.ts.map +1 -1
- package/node_modules/@cchistory/live-runtime/dist/index.js +3 -1
- package/node_modules/@cchistory/live-runtime/dist/index.js.map +1 -1
- package/node_modules/@cchistory/live-runtime/dist/index.test.js +266 -38
- package/node_modules/@cchistory/live-runtime/dist/index.test.js.map +1 -1
- package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.d.ts +35 -0
- package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.d.ts.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.js +68 -0
- package/node_modules/@cchistory/live-runtime/dist/inventory-and-git.js.map +1 -0
- package/node_modules/@cchistory/live-runtime/package.json +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/conversation-seeds.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/core/conversation-seeds.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/conversation-seeds.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.js +60 -4
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.d.ts +9 -0
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.js +130 -7
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/parser.d.ts +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/parser.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/parser.js +198 -1
- package/node_modules/@cchistory/source-adapters/dist/core/parser.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/probe.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/probe.js +85 -5
- package/node_modules/@cchistory/source-adapters/dist/core/probe.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/registry.test.js +17 -1
- package/node_modules/@cchistory/source-adapters/dist/core/registry.test.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.js +44 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/source-identity.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/core/source-identity.js +12 -0
- package/node_modules/@cchistory/source-adapters/dist/core/source-identity.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/index.d.ts +5 -0
- package/node_modules/@cchistory/source-adapters/dist/index.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/index.js +5 -0
- package/node_modules/@cchistory/source-adapters/dist/index.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/index.test.d.ts +6 -0
- package/node_modules/@cchistory/source-adapters/dist/index.test.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/index.test.js +6 -0
- package/node_modules/@cchistory/source-adapters/dist/index.test.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.d.ts +14 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.js +397 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.d.ts +6 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.js +106 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/agent-config-reader.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.d.ts +42 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.js +368 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/config-io.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.d.ts +22 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.js +195 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/redaction.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.d.ts +23 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.js +147 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity-helpers.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.d.ts +11 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.js +339 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/antigravity.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.d.ts +70 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.js +257 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code-helpers.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.d.ts +11 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.js +321 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/claude-code.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.d.ts +12 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.js +363 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/codex.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.d.ts +20 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.js +408 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/deepseek-harness.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.d.ts +24 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.js +225 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/index.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.d.ts +12 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.js +372 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/opencode.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.d.ts +62 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.js +428 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/shared.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.d.ts +7 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.js +399 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/startup/startup.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/toml.d.ts +16 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/toml.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/toml.js +478 -0
- package/node_modules/@cchistory/source-adapters/dist/inventory/toml.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.test.js +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.test.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/reader.d.ts +28 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/reader.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/reader.js +443 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/reader.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/runtime.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/runtime.js +370 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.js +78 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.test.js +313 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/deepseek-harness.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/generic/runtime.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/platforms/generic/runtime.js +14 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/generic/runtime.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/runtime.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/runtime.js +306 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/sqlite.d.ts +8 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/sqlite.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/sqlite.js +499 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes/sqlite.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.d.ts +9 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.js +53 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.test.js +314 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/hermes.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/oh-my-pi.d.ts +9 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/oh-my-pi.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/oh-my-pi.js +84 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/oh-my-pi.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite-records.d.ts +50 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite-records.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite-records.js +291 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite-records.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite.d.ts +8 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite.js +321 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode/sqlite.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode-sqlite.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode-sqlite.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode-sqlite.test.js +245 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode-sqlite.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.js +30 -7
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/reader.d.ts +44 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/reader.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/reader.js +533 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/reader.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/runtime.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/runtime.js +375 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family.test.js +346 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi-family.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi.d.ts +8 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi.js +60 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/pi.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/registry.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/platforms/registry.js +8 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/registry.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/platforms/types.d.ts +3 -1
- package/node_modules/@cchistory/source-adapters/dist/platforms/types.d.ts.map +1 -1
- package/node_modules/@cchistory/source-adapters/dist/platforms/types.js +5 -1
- package/node_modules/@cchistory/source-adapters/dist/platforms/types.js.map +1 -1
- package/node_modules/@cchistory/source-adapters/package.json +1 -1
- package/package.json +5 -5
- package/schemas/cchistory-lite-agent-v1.schema.json +3 -1
- package/schemas/cchistory-lite-envelope-v1.schema.json +33 -0
- package/schemas/cchistory-lite-inventory-v1.schema.json +94 -0
- package/schemas/cchistory-lite-merged-projects-v1.schema.json +44 -0
- package/schemas/cchistory-lite-v2.schema.json +22 -1
- package/skills/using-cchistory-lite/SKILL.md +17 -0
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
export function parsePiFamilyRecord(context, record, parsed, draft, helpers) {
|
|
2
|
+
const fragments = [];
|
|
3
|
+
const lossAudits = [];
|
|
4
|
+
const kind = helpers.asString(parsed.kind) ?? "unknown";
|
|
5
|
+
const timeKey = helpers.coerceIso(parsed.timestamp) ??
|
|
6
|
+
record.observed_at ??
|
|
7
|
+
helpers.nowIso();
|
|
8
|
+
const push = (fragmentKind, payload) => {
|
|
9
|
+
fragments.push(helpers.createFragment(context, record, fragments.length, fragmentKind, timeKey, payload));
|
|
10
|
+
};
|
|
11
|
+
const loss = (detail, diagnosticCode, severity = "info") => {
|
|
12
|
+
lossAudits.push(helpers.createRecordLossAudit(context, record, "unknown_fragment", detail, {
|
|
13
|
+
diagnosticCode,
|
|
14
|
+
severity,
|
|
15
|
+
}));
|
|
16
|
+
};
|
|
17
|
+
if (kind === "session") {
|
|
18
|
+
const title = helpers.asString(parsed.title)?.trim();
|
|
19
|
+
const workingDirectory = helpers.asString(parsed.cwd);
|
|
20
|
+
if (title) {
|
|
21
|
+
draft.title = title;
|
|
22
|
+
}
|
|
23
|
+
if (workingDirectory) {
|
|
24
|
+
draft.working_directory = workingDirectory;
|
|
25
|
+
}
|
|
26
|
+
push("session_meta", parsed);
|
|
27
|
+
if (title) {
|
|
28
|
+
push("title_signal", { title, title_source: "pi_session_title" });
|
|
29
|
+
}
|
|
30
|
+
if (workingDirectory) {
|
|
31
|
+
push("workspace_signal", { path: workingDirectory });
|
|
32
|
+
}
|
|
33
|
+
const parentSession = helpers.asString(parsed.parent_session);
|
|
34
|
+
if (parsed.delegated === true && parentSession) {
|
|
35
|
+
push("session_relation", {
|
|
36
|
+
parent_uuid: parentSession,
|
|
37
|
+
child_session_id: helpers.asString(parsed.id),
|
|
38
|
+
is_sidechain: true,
|
|
39
|
+
relation_source: "pi_task_parent_session",
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
else if (parentSession) {
|
|
43
|
+
loss(`Session lineage ${parentSession} is an ordinary fork/clone rather than delegated work; kept as a top-level session.`, "pi_family_fork_lineage_not_delegated");
|
|
44
|
+
}
|
|
45
|
+
return { fragments, lossAudits };
|
|
46
|
+
}
|
|
47
|
+
if (kind === "title") {
|
|
48
|
+
const title = helpers.asString(parsed.title)?.trim();
|
|
49
|
+
if (title) {
|
|
50
|
+
draft.title = title;
|
|
51
|
+
push("title_signal", { title, title_source: "pi_title_change" });
|
|
52
|
+
}
|
|
53
|
+
return { fragments, lossAudits };
|
|
54
|
+
}
|
|
55
|
+
if (kind === "model_change") {
|
|
56
|
+
const model = helpers.asString(parsed.model);
|
|
57
|
+
const provider = helpers.asString(parsed.provider);
|
|
58
|
+
if (model) {
|
|
59
|
+
draft.model = model;
|
|
60
|
+
}
|
|
61
|
+
if (model || provider) {
|
|
62
|
+
push("model_signal", { model, provider, role: helpers.asString(parsed.role) });
|
|
63
|
+
}
|
|
64
|
+
return { fragments, lossAudits };
|
|
65
|
+
}
|
|
66
|
+
if (kind === "usage") {
|
|
67
|
+
appendUsageRecord(context, record, parsed, timeKey, fragments, helpers, {
|
|
68
|
+
sourceEventType: "pi_family_usage_entry",
|
|
69
|
+
callKind: helpers.asString(parsed.purpose) ?? "usage_entry",
|
|
70
|
+
});
|
|
71
|
+
return { fragments, lossAudits };
|
|
72
|
+
}
|
|
73
|
+
if (kind === "compaction" || kind === "branch_summary") {
|
|
74
|
+
const summary = helpers.asString(parsed.summary);
|
|
75
|
+
if (summary?.trim()) {
|
|
76
|
+
push("text", {
|
|
77
|
+
actor_kind: "system",
|
|
78
|
+
origin_kind: "source_instruction",
|
|
79
|
+
display_policy: "collapse",
|
|
80
|
+
synthetic: true,
|
|
81
|
+
signal_kind: "compact_boundary",
|
|
82
|
+
source_event_type: "context_compacted",
|
|
83
|
+
text: summary,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
appendUsageRecord(context, record, parsed, timeKey, fragments, helpers, {
|
|
87
|
+
sourceEventType: `pi_family_${kind}`,
|
|
88
|
+
callKind: kind,
|
|
89
|
+
});
|
|
90
|
+
return { fragments, lossAudits };
|
|
91
|
+
}
|
|
92
|
+
if (kind === "reset_boundary") {
|
|
93
|
+
loss("A reset boundary starts a new context inside the same file; earlier entries stay part of the full-history transcript.", "pi_family_reset_boundary_evidence");
|
|
94
|
+
return { fragments, lossAudits };
|
|
95
|
+
}
|
|
96
|
+
if (kind === "message") {
|
|
97
|
+
const message = helpers.isObject(parsed.message) ? parsed.message : undefined;
|
|
98
|
+
if (!message) {
|
|
99
|
+
loss("Pi/OMP message entry has no message body.", "pi_family_message_missing", "warning");
|
|
100
|
+
return { fragments, lossAudits };
|
|
101
|
+
}
|
|
102
|
+
const entryId = helpers.asString(parsed.entry_id);
|
|
103
|
+
appendMessage(context, record, message, entryId, draft, timeKey, fragments, push, loss, helpers);
|
|
104
|
+
return { fragments, lossAudits };
|
|
105
|
+
}
|
|
106
|
+
loss(`Unhandled Pi/OMP record kind: ${kind}`, "pi_family_unhandled_record_kind", "warning");
|
|
107
|
+
return { fragments, lossAudits };
|
|
108
|
+
}
|
|
109
|
+
function mapPiStopReason(value) {
|
|
110
|
+
if (!value) {
|
|
111
|
+
return undefined;
|
|
112
|
+
}
|
|
113
|
+
// Pi persists the camelCase provider value; canonical's stop-reason alias
|
|
114
|
+
// table only knows the snake_case form.
|
|
115
|
+
return value === "toolUse" ? "tool_use" : value;
|
|
116
|
+
}
|
|
117
|
+
function appendUsageRecord(context, record, parsed, timeKey, fragments, helpers, options) {
|
|
118
|
+
const usage = normalizeUsage(parsed.usage, helpers.asString(parsed.model), helpers);
|
|
119
|
+
if (!usage) {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
fragments.push(helpers.createTokenUsageFragment(context, record, fragments.length, timeKey, usage, helpers.normalizeStopReason(mapPiStopReason(helpers.asString(parsed.stop_reason))), {
|
|
123
|
+
scope: "call",
|
|
124
|
+
independent_usage_event_id: record.id,
|
|
125
|
+
source_event_type: options.sourceEventType,
|
|
126
|
+
call_kind: options.callKind,
|
|
127
|
+
...(options.messageId ? { message_id: options.messageId } : {}),
|
|
128
|
+
...(helpers.asString(parsed.provider) ? { billing_provider: helpers.asString(parsed.provider) } : {}),
|
|
129
|
+
}));
|
|
130
|
+
}
|
|
131
|
+
function appendMessage(context, record, message, entryId, draft, timeKey, fragments, push, loss, helpers) {
|
|
132
|
+
const role = helpers.asString(message.role);
|
|
133
|
+
const messageTimestamp = helpers.epochMillisToIso(helpers.asNumber(message.timestamp));
|
|
134
|
+
const messageTimeKey = messageTimestamp ?? timeKey;
|
|
135
|
+
const pushText = (text, options) => {
|
|
136
|
+
if (!text?.trim()) {
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
fragments.push(helpers.createFragment(context, record, fragments.length, "text", messageTimeKey, {
|
|
140
|
+
actor_kind: options.actorKind,
|
|
141
|
+
origin_kind: options.originKind,
|
|
142
|
+
text,
|
|
143
|
+
display_policy: options.displayPolicy,
|
|
144
|
+
...(options.contentType ? { source_content_type: options.contentType } : {}),
|
|
145
|
+
...(entryId ? { message_id: entryId } : {}),
|
|
146
|
+
}));
|
|
147
|
+
};
|
|
148
|
+
if (role === "user") {
|
|
149
|
+
appendContentBlocks(message.content, helpers, {
|
|
150
|
+
text: (text) => pushText(text, { actorKind: "user", originKind: "user_authored", displayPolicy: "show" }),
|
|
151
|
+
image: () => loss("Pi/OMP user image content was not projected as conversation text.", "pi_family_image_content_not_projected"),
|
|
152
|
+
unknown: (type) => loss(`Unsupported Pi/OMP user content block ${String(type)}.`, "pi_family_unsupported_user_block"),
|
|
153
|
+
});
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
if (role === "assistant") {
|
|
157
|
+
appendContentBlocks(message.content, helpers, {
|
|
158
|
+
text: (text) => pushText(text, { actorKind: "assistant", originKind: "assistant_authored", displayPolicy: "show" }),
|
|
159
|
+
thinking: (text) => pushText(text, {
|
|
160
|
+
actorKind: "assistant",
|
|
161
|
+
originKind: "assistant_authored",
|
|
162
|
+
displayPolicy: "collapse",
|
|
163
|
+
contentType: "reasoning",
|
|
164
|
+
}),
|
|
165
|
+
toolCall: (callId, name, input) => {
|
|
166
|
+
fragments.push(helpers.createFragment(context, record, fragments.length, "tool_call", messageTimeKey, {
|
|
167
|
+
call_id: callId,
|
|
168
|
+
tool_name: name,
|
|
169
|
+
input,
|
|
170
|
+
...(entryId ? { message_id: entryId } : {}),
|
|
171
|
+
source_event_type: "pi_assistant_tool_call",
|
|
172
|
+
}));
|
|
173
|
+
},
|
|
174
|
+
image: () => loss("Pi/OMP assistant image content was not projected as conversation text.", "pi_family_assistant_image_not_projected"),
|
|
175
|
+
unknown: (type) => loss(`Unsupported Pi/OMP assistant content block ${String(type)}.`, "pi_family_unsupported_assistant_block"),
|
|
176
|
+
});
|
|
177
|
+
if (helpers.asString(message.errorMessage)) {
|
|
178
|
+
loss(`Assistant message ${entryId ?? "?"} reported an error: ${helpers.asString(message.errorMessage)}`, "pi_family_assistant_error_evidence");
|
|
179
|
+
}
|
|
180
|
+
const assistantModel = helpers.asString(message.responseModel) ?? helpers.asString(message.model);
|
|
181
|
+
if (assistantModel) {
|
|
182
|
+
draft.model = assistantModel;
|
|
183
|
+
fragments.push(helpers.createFragment(context, record, fragments.length, "model_signal", messageTimeKey, {
|
|
184
|
+
model: assistantModel,
|
|
185
|
+
provider: helpers.asString(message.provider),
|
|
186
|
+
}));
|
|
187
|
+
}
|
|
188
|
+
appendUsageRecord(context, record, {
|
|
189
|
+
usage: message.usage,
|
|
190
|
+
model: assistantModel,
|
|
191
|
+
stop_reason: mapPiStopReason(helpers.asString(message.stopReason)),
|
|
192
|
+
provider: helpers.asString(message.provider),
|
|
193
|
+
}, messageTimeKey, fragments, helpers, {
|
|
194
|
+
sourceEventType: "pi_assistant_message",
|
|
195
|
+
callKind: "assistant",
|
|
196
|
+
...(entryId ? { messageId: entryId } : {}),
|
|
197
|
+
});
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
if (role === "toolResult") {
|
|
201
|
+
const output = contentToText(message.content, helpers);
|
|
202
|
+
fragments.push(helpers.createFragment(context, record, fragments.length, "tool_result", messageTimeKey, {
|
|
203
|
+
call_id: helpers.asString(message.toolCallId),
|
|
204
|
+
tool_name: helpers.asString(message.toolName),
|
|
205
|
+
output,
|
|
206
|
+
...(typeof message.isError === "boolean" ? { is_error: message.isError } : {}),
|
|
207
|
+
source_event_type: "pi_tool_result",
|
|
208
|
+
}));
|
|
209
|
+
// A tool can perform nested model work; that usage is a separate call, not
|
|
210
|
+
// part of the assistant reply that requested the tool.
|
|
211
|
+
appendUsageRecord(context, record, {
|
|
212
|
+
usage: message.usage,
|
|
213
|
+
model: helpers.asString(message.model),
|
|
214
|
+
provider: helpers.asString(message.provider),
|
|
215
|
+
}, messageTimeKey, fragments, helpers, {
|
|
216
|
+
sourceEventType: "pi_tool_result_usage",
|
|
217
|
+
callKind: "tool_nested",
|
|
218
|
+
});
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
if (role === "system") {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
if (role === "developer") {
|
|
225
|
+
pushText(contentToText(message.content, helpers), {
|
|
226
|
+
actorKind: "system",
|
|
227
|
+
originKind: "source_instruction",
|
|
228
|
+
displayPolicy: "collapse",
|
|
229
|
+
});
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
if (role === "bashExecution" || role === "pythonExecution") {
|
|
233
|
+
const command = helpers.asString(message.command) ?? helpers.asString(message.code);
|
|
234
|
+
const output = helpers.asString(message.output);
|
|
235
|
+
const exitCode = helpers.asNumber(message.exitCode);
|
|
236
|
+
const text = [
|
|
237
|
+
command ? `$ ${command}` : role,
|
|
238
|
+
output,
|
|
239
|
+
exitCode !== undefined && exitCode !== 0 ? `exit ${exitCode}` : undefined,
|
|
240
|
+
].filter((value) => Boolean(value)).join("\n");
|
|
241
|
+
pushText(text || `${role} evidence`, {
|
|
242
|
+
actorKind: "system",
|
|
243
|
+
originKind: "source_instruction",
|
|
244
|
+
displayPolicy: "collapse",
|
|
245
|
+
});
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
if (role === "custom" || role === "hookMessage") {
|
|
249
|
+
pushText(contentToText(message.content, helpers), {
|
|
250
|
+
actorKind: "system",
|
|
251
|
+
originKind: "source_instruction",
|
|
252
|
+
displayPolicy: "collapse",
|
|
253
|
+
});
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
if (role === "branchSummary" || role === "compactionSummary") {
|
|
257
|
+
pushText(helpers.asString(message.summary), {
|
|
258
|
+
actorKind: "system",
|
|
259
|
+
originKind: "source_instruction",
|
|
260
|
+
displayPolicy: "collapse",
|
|
261
|
+
});
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
if (role === "fileMention") {
|
|
265
|
+
const files = Array.isArray(message.files) ? message.files : [];
|
|
266
|
+
const labels = files
|
|
267
|
+
.map((file) => (isPiObject(file) ? asPiString(file.path) ?? asPiString(file.name) : undefined))
|
|
268
|
+
.filter((value) => Boolean(value));
|
|
269
|
+
pushText(labels.length > 0 ? labels.map((label) => `[file] ${label}`).join("\n") : contentToText(message.content, helpers), {
|
|
270
|
+
actorKind: "user",
|
|
271
|
+
originKind: "injected_user_shaped",
|
|
272
|
+
displayPolicy: "collapse",
|
|
273
|
+
});
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
loss(`Unhandled Pi/OMP message role: ${String(role)}`, "pi_family_unhandled_message_role", "warning");
|
|
277
|
+
}
|
|
278
|
+
function appendContentBlocks(content, helpers, handlers) {
|
|
279
|
+
if (typeof content === "string") {
|
|
280
|
+
handlers.text(content);
|
|
281
|
+
return;
|
|
282
|
+
}
|
|
283
|
+
if (!Array.isArray(content)) {
|
|
284
|
+
if (helpers.isObject(content)) {
|
|
285
|
+
handlers.text(helpers.asString(content.text) ?? "");
|
|
286
|
+
}
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
for (const block of content) {
|
|
290
|
+
if (!helpers.isObject(block)) {
|
|
291
|
+
continue;
|
|
292
|
+
}
|
|
293
|
+
const type = helpers.asString(block.type);
|
|
294
|
+
if (type === "text") {
|
|
295
|
+
handlers.text(helpers.asString(block.text) ?? "");
|
|
296
|
+
continue;
|
|
297
|
+
}
|
|
298
|
+
if (type === "thinking") {
|
|
299
|
+
const thinking = helpers.asString(block.thinking);
|
|
300
|
+
if (thinking) {
|
|
301
|
+
handlers.thinking?.(thinking);
|
|
302
|
+
}
|
|
303
|
+
continue;
|
|
304
|
+
}
|
|
305
|
+
if (type === "toolCall") {
|
|
306
|
+
handlers.toolCall?.(helpers.asString(block.id), helpers.asString(block.name) ?? "tool", helpers.isObject(block.arguments) ? block.arguments : {});
|
|
307
|
+
continue;
|
|
308
|
+
}
|
|
309
|
+
if (type === "image") {
|
|
310
|
+
handlers.image?.();
|
|
311
|
+
continue;
|
|
312
|
+
}
|
|
313
|
+
handlers.unknown(type);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
function contentToText(content, helpers) {
|
|
317
|
+
if (typeof content === "string") {
|
|
318
|
+
return content;
|
|
319
|
+
}
|
|
320
|
+
if (!Array.isArray(content)) {
|
|
321
|
+
return helpers.isObject(content) ? helpers.asString(content.text) ?? "" : "";
|
|
322
|
+
}
|
|
323
|
+
const parts = [];
|
|
324
|
+
for (const block of content) {
|
|
325
|
+
if (!helpers.isObject(block)) {
|
|
326
|
+
continue;
|
|
327
|
+
}
|
|
328
|
+
if (helpers.asString(block.type) === "text") {
|
|
329
|
+
const text = helpers.asString(block.text);
|
|
330
|
+
if (text) {
|
|
331
|
+
parts.push(text);
|
|
332
|
+
}
|
|
333
|
+
continue;
|
|
334
|
+
}
|
|
335
|
+
if (helpers.asString(block.type) === "image") {
|
|
336
|
+
parts.push("[image]");
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
return parts.join("\n");
|
|
340
|
+
}
|
|
341
|
+
function normalizeUsage(raw, model, helpers) {
|
|
342
|
+
if (!helpers.isObject(raw)) {
|
|
343
|
+
return undefined;
|
|
344
|
+
}
|
|
345
|
+
const input = helpers.asNumber(raw.input);
|
|
346
|
+
const output = helpers.asNumber(raw.output);
|
|
347
|
+
const cacheRead = helpers.asNumber(raw.cacheRead);
|
|
348
|
+
const cacheWrite = helpers.asNumber(raw.cacheWrite);
|
|
349
|
+
const reasoning = helpers.asNumber(raw.reasoning);
|
|
350
|
+
const total = helpers.asNumber(raw.totalTokens);
|
|
351
|
+
const values = [input, output, cacheRead, cacheWrite, reasoning];
|
|
352
|
+
if (values.every((value) => value === undefined)) {
|
|
353
|
+
return undefined;
|
|
354
|
+
}
|
|
355
|
+
return {
|
|
356
|
+
input_tokens: input,
|
|
357
|
+
output_tokens: output,
|
|
358
|
+
cache_read_input_tokens: cacheRead,
|
|
359
|
+
cache_creation_input_tokens: cacheWrite,
|
|
360
|
+
// Pi documents `reasoning` as already included in `output`; keep it as
|
|
361
|
+
// evidence without adding it to the total a second time.
|
|
362
|
+
reasoning_output_tokens: reasoning,
|
|
363
|
+
// reasoning is a subset of output; the fallback mirrors Pi's own
|
|
364
|
+
// input + output + cacheRead + cacheWrite total.
|
|
365
|
+
total_tokens: total ?? [input, output, cacheRead, cacheWrite].reduce((sum, value) => sum + (value ?? 0), 0),
|
|
366
|
+
model,
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
function isPiObject(value) {
|
|
370
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
371
|
+
}
|
|
372
|
+
function asPiString(value) {
|
|
373
|
+
return typeof value === "string" && value.trim() ? value : undefined;
|
|
374
|
+
}
|
|
375
|
+
//# sourceMappingURL=runtime.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/platforms/pi-family/runtime.ts"],"names":[],"mappings":"AAuBA,MAAM,UAAU,mBAAmB,CACjC,OAAiC,EACjC,MAAiB,EACjB,MAA+B,EAC/B,KAAuB,EACvB,OAAkC;IAElC,MAAM,SAAS,GAAqB,EAAE,CAAC;IACvC,MAAM,UAAU,GAAsB,EAAE,CAAC;IACzC,MAAM,IAAI,GAAG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC;IACxD,MAAM,OAAO,GACX,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC;QACnC,MAAM,CAAC,WAAW;QAClB,OAAO,CAAC,MAAM,EAAE,CAAC;IACnB,MAAM,IAAI,GAAiB,CAAC,YAAY,EAAE,OAAO,EAAE,EAAE;QACnD,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC5G,CAAC,CAAC;IACF,MAAM,IAAI,GAAe,CAAC,MAAM,EAAE,cAAc,EAAE,QAAQ,GAAG,MAAM,EAAE,EAAE;QACrE,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE;YACzF,cAAc;YACd,QAAQ;SACT,CAAC,CAAC,CAAC;IACN,CAAC,CAAC;IAEF,IAAI,IAAI,KAAK,SA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