@sema-agent/core 7.57.0 → 7.59.0
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/CHANGELOG.md +1161 -0
- package/README.md +6 -4
- package/dist/agents/cc-peer-directory.js +8 -8
- package/dist/agents/child-model-seat.d.ts +4 -2
- package/dist/agents/child-model-seat.js +5 -3
- package/dist/agents/peer-directory.d.ts +9 -0
- package/dist/agents/peer-directory.js +6 -2
- package/dist/agents/send-message-tool.js +21 -12
- package/dist/agents/subagent-steps.js +2 -4
- package/dist/agents/subagent.js +33 -34
- package/dist/brain/anthropic.js +161 -45
- package/dist/brain/errors.d.ts +9 -3
- package/dist/brain/errors.js +7 -1
- package/dist/brain/failover.js +2 -1
- package/dist/brain/open-responses.js +3 -3
- package/dist/brain/openai.js +103 -53
- package/dist/brain/provider-dialect.d.ts +11 -0
- package/dist/brain/provider-dialect.js +5 -2
- package/dist/brain/reasoning-request.js +5 -4
- package/dist/brain/reasoning.d.ts +19 -0
- package/dist/brain/reasoning.js +17 -2
- package/dist/brain/request-route.d.ts +4 -1
- package/dist/brain/request-route.js +4 -1
- package/dist/brain/route-adjudicator.d.ts +84 -18
- package/dist/brain/route-adjudicator.js +89 -22
- package/dist/brain/route-conformance.js +1 -1
- package/dist/brain/stream-engine.js +84 -49
- package/dist/brain/stream-shared.d.ts +30 -0
- package/dist/brain/stream-shared.js +34 -1
- package/dist/brain/timeout.d.ts +62 -5
- package/dist/brain/timeout.js +93 -6
- package/dist/core/a2a.d.ts +2 -1
- package/dist/core/a2a.js +23 -10
- package/dist/core/account-row.d.ts +61 -0
- package/dist/core/account-row.js +51 -0
- package/dist/core/advisor-verdict.d.ts +2 -1
- package/dist/core/advisor-verdict.js +1 -1
- package/dist/core/allow-entry.d.ts +20 -7
- package/dist/core/allow-entry.js +18 -9
- package/dist/core/approval-object.d.ts +29 -15
- package/dist/core/approval-object.js +47 -19
- package/dist/core/ask-origin.d.ts +21 -2
- package/dist/core/ask-origin.js +5 -1
- package/dist/core/auto-compaction.d.ts +4 -0
- package/dist/core/auto-compaction.js +2 -2
- package/dist/core/auto-mode-directive.d.ts +29 -5
- package/dist/core/auto-mode-directive.js +38 -8
- package/dist/core/background-agent-store.d.ts +16 -3
- package/dist/core/checkpoint-requirements.d.ts +19 -1
- package/dist/core/checkpoint-requirements.js +5 -1
- package/dist/core/checkpoint-store.d.ts +85 -23
- package/dist/core/checkpoint-store.js +31 -9
- package/dist/core/child-clamp-seats.d.ts +29 -0
- package/dist/core/child-clamp-seats.js +56 -1
- package/dist/core/compliance.d.ts +2 -2
- package/dist/core/compliance.js +1 -1
- package/dist/core/effective-path-target.d.ts +8 -2
- package/dist/core/effective-path-target.js +8 -3
- package/dist/core/engine-notice.d.ts +99 -9
- package/dist/core/engine-notice.js +19 -5
- package/dist/core/fs-write-gate-policy.d.ts +4 -2
- package/dist/core/fs-write-gate-policy.js +7 -3
- package/dist/core/gate-fold.js +7 -4
- package/dist/core/gate-lanes.js +19 -6
- package/dist/core/gate-outcome.d.ts +32 -3
- package/dist/core/gate-outcome.js +19 -1
- package/dist/core/git-worktree-env.d.ts +53 -11
- package/dist/core/git-worktree-env.js +96 -12
- package/dist/core/governance-codes.d.ts +9 -1
- package/dist/core/governance-codes.js +13 -0
- package/dist/core/hooks.d.ts +35 -4
- package/dist/core/hooks.js +17 -11
- package/dist/core/human-input-projection.d.ts +1 -0
- package/dist/core/human-input-projection.js +3 -0
- package/dist/core/image-admission.d.ts +6 -5
- package/dist/core/image-admission.js +18 -14
- package/dist/core/locked-config.d.ts +20 -3
- package/dist/core/locked-config.js +40 -3
- package/dist/core/mailbox-store.d.ts +45 -1
- package/dist/core/mailbox-store.js +53 -9
- package/dist/core/mcp-call-meta.d.ts +66 -0
- package/dist/core/mcp-call-meta.js +103 -0
- package/dist/core/mcp-connection-pool.d.ts +3 -1
- package/dist/core/mcp-connection-pool.js +3 -1
- package/dist/core/mcp-failure.d.ts +117 -15
- package/dist/core/mcp-failure.js +71 -3
- package/dist/core/mcp-probe.d.ts +4 -0
- package/dist/core/mcp-probe.js +1 -1
- package/dist/core/mcp-server-link.d.ts +27 -3
- package/dist/core/mcp-server-link.js +25 -1
- package/dist/core/mcp-server-spec.d.ts +46 -18
- package/dist/core/mcp-server-spec.js +1 -18
- package/dist/core/mcp.d.ts +16 -20
- package/dist/core/mcp.js +112 -55
- package/dist/core/memory-engine/consolidation-driver.d.ts +2 -4
- package/dist/core/memory-engine/consolidation-driver.js +3 -3
- package/dist/core/memory-engine/consolidation.d.ts +4 -0
- package/dist/core/memory-engine/consolidation.js +1 -0
- package/dist/core/memory-engine/delegation-settlement.js +5 -12
- package/dist/core/memory-engine/distiller.js +2 -2
- package/dist/core/memory-engine/dual-root.d.ts +50 -1
- package/dist/core/memory-engine/dual-root.js +44 -1
- package/dist/core/memory-engine/engine.d.ts +67 -14
- package/dist/core/memory-engine/engine.js +384 -212
- package/dist/core/memory-engine/export-bundle.d.ts +23 -0
- package/dist/core/memory-engine/export-bundle.js +23 -4
- package/dist/core/memory-engine/file-backend.d.ts +128 -55
- package/dist/core/memory-engine/file-backend.js +290 -117
- package/dist/core/memory-engine/index.d.ts +1 -1
- package/dist/core/memory-engine/layout.d.ts +59 -11
- package/dist/core/memory-engine/layout.js +190 -40
- package/dist/core/memory-engine/memory-backend-contract.d.ts +1 -1
- package/dist/core/memory-engine/memory-backend-contract.js +39 -2
- package/dist/core/memory-engine/scope-contract.d.ts +45 -4
- package/dist/core/memory-engine/scope-contract.js +80 -11
- package/dist/core/memory-engine/sync-client.d.ts +9 -1
- package/dist/core/memory-engine/sync-client.js +31 -8
- package/dist/core/memory-engine/sync.d.ts +5 -0
- package/dist/core/memory-engine/types.d.ts +6 -0
- package/dist/core/mode-policy.d.ts +8 -5
- package/dist/core/mode-policy.js +5 -4
- package/dist/core/mods/classic-events.d.ts +5 -1
- package/dist/core/mods/host.js +1 -1
- package/dist/core/mods/kernel/dispatch.d.ts +3 -0
- package/dist/core/mods/kernel/dispatch.js +12 -9
- package/dist/core/mods/kernel/events.d.ts +6 -1
- package/dist/core/mods/kernel/events.js +2 -2
- package/dist/core/mods/kernel/registration.d.ts +9 -1
- package/dist/core/mods/kernel/registration.js +3 -0
- package/dist/core/mods/kernel/site-rules.d.ts +3 -0
- package/dist/core/mods/kernel/site-rules.js +10 -0
- package/dist/core/mods/package.d.ts +23 -0
- package/dist/core/mods/package.js +118 -0
- package/dist/core/mods/stations.d.ts +33 -12
- package/dist/core/mods/stations.js +45 -11
- package/dist/core/mods/tool-call.d.ts +5 -1
- package/dist/core/mods/tool-call.js +13 -4
- package/dist/core/parent-spec-seat.d.ts +8 -3
- package/dist/core/parent-spec-seat.js +2 -0
- package/dist/core/park-selfcheck.js +6 -0
- package/dist/core/path-guard-rows.d.ts +20 -0
- package/dist/core/path-guard-rows.js +11 -0
- package/dist/core/peer-seat.d.ts +248 -0
- package/dist/core/peer-seat.js +439 -0
- package/dist/core/permission-rule-consent.js +10 -4
- package/dist/core/permission-rule-model.d.ts +16 -0
- package/dist/core/permission-rule-model.js +1 -1
- package/dist/core/present-plan-tool.d.ts +20 -3
- package/dist/core/present-plan-tool.js +48 -4
- package/dist/core/protocol-http-auth.d.ts +40 -29
- package/dist/core/protocol-http-auth.js +30 -32
- package/dist/core/redaction-marks.d.ts +16 -0
- package/dist/core/redaction-marks.js +16 -0
- package/dist/core/redaction-passes.js +8 -9
- package/dist/core/resume-startup-cause.js +1 -0
- package/dist/core/retention.d.ts +41 -15
- package/dist/core/retention.js +59 -12
- package/dist/core/rewrite-rejudge.d.ts +38 -0
- package/dist/core/rewrite-rejudge.js +42 -2
- package/dist/core/roles.d.ts +34 -2
- package/dist/core/roles.js +43 -4
- package/dist/core/run-origin.d.ts +40 -0
- package/dist/core/run-origin.js +37 -0
- package/dist/core/runner/advertised-writable-dirs.d.ts +57 -38
- package/dist/core/runner/advertised-writable-dirs.js +126 -0
- package/dist/core/runner/announce-once-ledger.d.ts +5 -4
- package/dist/core/runner/announce-once-ledger.js +4 -2
- package/dist/core/runner/call-hook-stations.js +2 -2
- package/dist/core/runner/compaction-restate.d.ts +15 -6
- package/dist/core/runner/compaction-restate.js +28 -2
- package/dist/core/runner/contracts.d.ts +33 -21
- package/dist/core/runner/credential-origin-seat.js +4 -3
- package/dist/core/runner/cwd-alignment-probe.d.ts +20 -0
- package/dist/core/runner/cwd-alignment-probe.js +21 -0
- package/dist/core/runner/decide-continuation.d.ts +2 -2
- package/dist/core/runner/gate-exit.d.ts +30 -8
- package/dist/core/runner/gate-exit.js +15 -8
- package/dist/core/runner/image-removed-seat.d.ts +12 -0
- package/dist/core/runner/image-removed-seat.js +19 -0
- package/dist/core/runner/inline-image.js +1 -1
- package/dist/core/runner/memory-consolidation-driver.js +3 -3
- package/dist/core/runner/park-commit.d.ts +1 -1
- package/dist/core/runner/park-commit.js +3 -0
- package/dist/core/runner/prepare-ask-lane.d.ts +1 -1
- package/dist/core/runner/prepare-ask-lane.js +2 -1
- package/dist/core/runner/prepare-boundary-parks.js +2 -2
- package/dist/core/runner/prepare-caps-and-workflow.d.ts +5 -5
- package/dist/core/runner/prepare-caps-and-workflow.js +3 -1
- package/dist/core/runner/prepare-config-doors.d.ts +8 -5
- package/dist/core/runner/prepare-config-doors.js +14 -10
- package/dist/core/runner/prepare-context-lane.js +2 -0
- package/dist/core/runner/prepare-delegation-surface.d.ts +8 -0
- package/dist/core/runner/prepare-delegation-surface.js +16 -18
- package/dist/core/runner/prepare-gate-stations.js +1 -1
- package/dist/core/runner/prepare-hands-readface.d.ts +11 -3
- package/dist/core/runner/prepare-hands-readface.js +9 -1
- package/dist/core/runner/prepare-inherited-gate.d.ts +1 -3
- package/dist/core/runner/prepare-inherited-gate.js +14 -27
- package/dist/core/runner/prepare-memory.d.ts +3 -0
- package/dist/core/runner/prepare-memory.js +26 -37
- package/dist/core/runner/prepare-park-ask.d.ts +1 -1
- package/dist/core/runner/prepare-park-ask.js +2 -1
- package/dist/core/runner/prepare-policy-chain.d.ts +7 -7
- package/dist/core/runner/prepare-policy-chain.js +18 -15
- package/dist/core/runner/prepare-project-context.d.ts +2 -2
- package/dist/core/runner/prepare-project-context.js +2 -2
- package/dist/core/runner/prepare-prompt-inputs.d.ts +1 -1
- package/dist/core/runner/prepare-prompt-inputs.js +8 -19
- package/dist/core/runner/prepare-protocol-tools.d.ts +4 -2
- package/dist/core/runner/prepare-protocol-tools.js +11 -3
- package/dist/core/runner/prepare-run-refs.d.ts +2 -3
- package/dist/core/runner/prepare-run-refs.js +4 -1
- package/dist/core/runner/prepare-suspend-saga.d.ts +2 -0
- package/dist/core/runner/prepare-suspend-saga.js +2 -1
- package/dist/core/runner/prepare-task.js +28 -13
- package/dist/core/runner/prepare-wiring-manifest.d.ts +2 -1
- package/dist/core/runner/prepare-wiring-manifest.js +4 -3
- package/dist/core/runner/prepare-workspace-restore.d.ts +3 -0
- package/dist/core/runner/prepare-workspace-restore.js +4 -4
- package/dist/core/runner/reply-pricing.d.ts +30 -0
- package/dist/core/runner/reply-pricing.js +19 -0
- package/dist/core/runner/resume-admission.js +5 -3
- package/dist/core/runner/resume-apply.js +6 -1
- package/dist/core/runner/resume-checkpoint-screen.js +2 -0
- package/dist/core/runner/resume-policy-outcome.js +5 -5
- package/dist/core/runner/role-seat-defaulted.d.ts +44 -0
- package/dist/core/runner/role-seat-defaulted.js +40 -0
- package/dist/core/runner/run-brain-sinks.js +2 -0
- package/dist/core/runner/run-harness-handlers.d.ts +3 -4
- package/dist/core/runner/run-harness-handlers.js +1 -8
- package/dist/core/runner/run-identity-wiring.d.ts +2 -5
- package/dist/core/runner/run-identity-wiring.js +6 -4
- package/dist/core/runner/run-leg.d.ts +2 -0
- package/dist/core/runner/run-leg.js +42 -29
- package/dist/core/runner/run-notification-lane.js +3 -0
- package/dist/core/runner/run-stop-and-final-verify.js +2 -2
- package/dist/core/runner/run-terminal-adoption.d.ts +2 -5
- package/dist/core/runner/run-terminal-adoption.js +9 -3
- package/dist/core/runner/run-turn-boundary.js +77 -70
- package/dist/core/runner/runtask.d.ts +1 -1
- package/dist/core/runner/runtask.js +2 -2
- package/dist/core/runner/side-call-account.d.ts +1 -1
- package/dist/core/runner/side-call-account.js +3 -18
- package/dist/core/runner/sub-agent-deny-lists.d.ts +24 -0
- package/dist/core/runner/sub-agent-deny-lists.js +10 -0
- package/dist/core/runner/terminal-account.js +3 -3
- package/dist/core/runner/tool-end-body.js +2 -1
- package/dist/core/runner/tool-occurrence.d.ts +5 -2
- package/dist/core/runner/tool-occurrence.js +4 -3
- package/dist/core/runner/turn-attachments.d.ts +26 -22
- package/dist/core/runner/turn-attachments.js +24 -26
- package/dist/core/runner/write-protection-station.d.ts +8 -2
- package/dist/core/runner/write-protection-station.js +2 -0
- package/dist/core/runner-deps.d.ts +3 -3
- package/dist/core/secret-env.d.ts +32 -2
- package/dist/core/secret-env.js +65 -3
- package/dist/core/sensitive-path-policy.js +9 -10
- package/dist/core/session-log-transfer.d.ts +24 -0
- package/dist/core/session-log-transfer.js +166 -0
- package/dist/core/session-policy-store.d.ts +3 -1
- package/dist/core/session-policy-store.js +13 -9
- package/dist/core/session-store.d.ts +86 -24
- package/dist/core/session-store.js +162 -24
- package/dist/core/session.d.ts +92 -1
- package/dist/core/shell-read-silence.js +1 -0
- package/dist/core/side-query.d.ts +11 -1
- package/dist/core/side-query.js +9 -0
- package/dist/core/skill-grant-binding.d.ts +31 -2
- package/dist/core/skill-grant-binding.js +31 -1
- package/dist/core/skill-grant.d.ts +8 -5
- package/dist/core/skill-grant.js +6 -6
- package/dist/core/steer-replay.d.ts +4 -2
- package/dist/core/steer-replay.js +2 -1
- package/dist/core/store-contracts/background-agent-store-contract.js +27 -0
- package/dist/core/store-contracts/checkpoint-store-contract.js +20 -2
- package/dist/core/store-contracts/mailbox-store-contract.js +31 -1
- package/dist/core/store-contracts/session-repo-contract.js +112 -5
- package/dist/core/store-contracts/session-store-contract.d.ts +4 -1
- package/dist/core/store-contracts/session-store-contract.js +236 -2
- package/dist/core/synthetic-read-verdict.js +2 -1
- package/dist/core/task-event.d.ts +92 -8
- package/dist/core/task-notification.js +16 -10
- package/dist/core/task-registry-agent.js +1 -0
- package/dist/core/task-registry-shared.d.ts +7 -1
- package/dist/core/task-spec.d.ts +49 -1
- package/dist/core/task-stream.d.ts +2 -1
- package/dist/core/terminal-cause.d.ts +11 -1
- package/dist/core/tool-catalog-entries.js +1 -0
- package/dist/core/tool-check-reading.d.ts +1 -0
- package/dist/core/tool-check-reading.js +3 -3
- package/dist/core/tool-policy.d.ts +16 -0
- package/dist/core/tool-result-store.d.ts +17 -10
- package/dist/core/tool-result-store.js +3 -1
- package/dist/core/tool-roster.d.ts +112 -5
- package/dist/core/tool-roster.js +42 -1
- package/dist/core/tool-spec.d.ts +3 -1
- package/dist/core/types.d.ts +3 -3
- package/dist/core/types.js +1 -1
- package/dist/core/untrusted-egress.d.ts +0 -2
- package/dist/core/untrusted-egress.js +10 -14
- package/dist/core/user-attachment.js +1 -1
- package/dist/core/wiring-manifest.d.ts +18 -6
- package/dist/core/wiring-manifest.js +4 -3
- package/dist/core/workspace-snapshot.d.ts +44 -0
- package/dist/core/workspace-snapshot.js +34 -0
- package/dist/core/write-protect.d.ts +43 -3
- package/dist/core/write-protect.js +43 -16
- package/dist/engine/compaction/compaction.js +29 -3
- package/dist/engine/execution-env/node-execution-env.d.ts +4 -3
- package/dist/engine/execution-env/node-execution-env.js +24 -23
- package/dist/engine/execution-env/symlink-chain.d.ts +7 -5
- package/dist/engine/harness/agent-harness.d.ts +30 -2
- package/dist/engine/harness/agent-harness.js +43 -12
- package/dist/engine/harness/messages.d.ts +3 -1
- package/dist/engine/harness/messages.js +3 -2
- package/dist/engine/harness/types.d.ts +56 -7
- package/dist/engine/harness/types.js +5 -1
- package/dist/engine/llm/rejected-images.d.ts +46 -0
- package/dist/engine/llm/rejected-images.js +54 -0
- package/dist/engine/llm/tool-turns.d.ts +2 -1
- package/dist/engine/llm/types.d.ts +30 -10
- package/dist/engine/llm/types.js +1 -1
- package/dist/engine/loop/agent-loop.d.ts +8 -0
- package/dist/engine/loop/agent-loop.js +52 -15
- package/dist/engine/loop/types.d.ts +3 -1
- package/dist/engine/session/import-validate.js +3 -0
- package/dist/engine/session/memory-repo.d.ts +17 -9
- package/dist/engine/session/memory-repo.js +44 -34
- package/dist/engine/session/path-to-root.d.ts +38 -0
- package/dist/engine/session/path-to-root.js +39 -0
- package/dist/engine/session/repo-utils.d.ts +22 -4
- package/dist/engine/session/repo-utils.js +49 -1
- package/dist/engine/session/storage-base.d.ts +10 -1
- package/dist/engine/session/storage-base.js +11 -22
- package/dist/index.d.ts +29 -16
- package/dist/index.js +21 -11
- package/dist/internal/harness-types.d.ts +2 -2
- package/dist/internal/harness.d.ts +3 -2
- package/dist/internal/harness.js +2 -2
- package/dist/internal/llm.d.ts +1 -0
- package/dist/orchestration/workflow-observe.d.ts +17 -1
- package/dist/orchestration/workflow-observe.js +20 -0
- package/dist/orchestration/workflow-types.d.ts +32 -7
- package/dist/orchestration/workflow.js +739 -489
- package/dist/shell/counting-pass.d.ts +50 -0
- package/dist/shell/counting-pass.js +502 -0
- package/dist/shell/lex.d.ts +4 -2
- package/dist/shell/lex.js +93 -34
- package/dist/shell/shell-words.d.ts +1 -1
- package/dist/shell/shell-words.js +7 -6
- package/dist/stores/file/index.d.ts +4 -1
- package/dist/stores/file/index.js +4 -1
- package/dist/stores/file/mailbox-store.js +6 -10
- package/dist/stores/file/session-store.d.ts +15 -8
- package/dist/stores/file/session-store.js +28 -13
- package/dist/tools/fs/fs-bash.d.ts +6 -0
- package/dist/tools/fs/fs-bash.js +6 -3
- package/dist/tools/fs/fs-write.d.ts +6 -3
- package/dist/tools/fs/fs-write.js +8 -7
- package/dist/tools/fs/index.d.ts +3 -0
- package/dist/tools/fs/index.js +7 -3
- package/dist/tools/fs/program-read-model.d.ts +13 -0
- package/dist/tools/fs/program-read-model.js +15 -0
- package/dist/tools/fs/program-read-model.rows.js +1 -1
- package/dist/tools/fs/read-deny.d.ts +13 -10
- package/dist/tools/fs/read-deny.js +25 -5
- package/dist/tools/fs/read-floor.d.ts +19 -0
- package/dist/tools/fs/read-floor.js +23 -0
- package/dist/tools/fs/safety.js +40 -8
- package/dist/tools/fs/search.js +6 -24
- package/dist/tools/fs/shell-read-check.d.ts +9 -2
- package/dist/tools/fs/shell-read-check.js +61 -16
- package/dist/tools/fs/shell-read-establish.js +2 -1
- package/dist/tools/fs/shell-read-identity.js +1 -1
- package/dist/tools/fs/shell-read-judge.d.ts +26 -9
- package/dist/tools/fs/shell-read-judge.js +10 -6
- package/dist/tools/fs/shell-read-plan.d.ts +6 -1
- package/dist/tools/fs/shell-read-plan.js +22 -15
- package/dist/tools/fs/shell-read-start.js +1 -0
- package/dist/tools/fs/shell-reentry-text.d.ts +15 -1
- package/dist/tools/fs/shell-reentry-text.js +25 -3
- package/dist/tools/monitor.d.ts +4 -0
- package/dist/tools/monitor.js +2 -0
- package/dist/tools/worktree.d.ts +42 -15
- package/dist/tools/worktree.js +60 -32
- package/package.json +5 -2
- package/test/export-surface.snapshot.json +149 -1
- package/wire-changes/core-stores-sql@7.58.0.json +29 -0
- package/wire-changes/core-stores-sql@7.59.0.json +29 -0
- package/wire-changes/core@7.58.0.json +2188 -0
- package/wire-changes/core@7.59.0.json +2459 -0
- package/wire-changes/mods-kernel@7.58.0.json +81 -0
- package/wire-changes/mods-kernel@7.59.0.json +29 -0
- package/wire-changes/primitives@7.58.0.json +29 -0
- package/wire-changes/primitives@7.59.0.json +29 -0
- package/dist/primitives/credential-ref.d.ts +0 -89
- package/dist/primitives/credential-ref.js +0 -125
- package/dist/primitives/index.d.ts +0 -2
- package/dist/primitives/index.js +0 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"package": "@sema-agent/mods-kernel",
|
|
4
|
+
"version": "7.58.0",
|
|
5
|
+
"from": "84be0e09dcdd8e157f88f083241ceafedc0f33aa",
|
|
6
|
+
"to": "v7.58.0",
|
|
7
|
+
"added": [],
|
|
8
|
+
"removed": [],
|
|
9
|
+
"changed": [],
|
|
10
|
+
"narrowed": [],
|
|
11
|
+
"closedSetMembers": [],
|
|
12
|
+
"closedSetsUnreadable": [],
|
|
13
|
+
"typeKeys": [
|
|
14
|
+
{
|
|
15
|
+
"type": "ModAdmissionRecord",
|
|
16
|
+
"at": [
|
|
17
|
+
"src/registration.ts:152"
|
|
18
|
+
],
|
|
19
|
+
"arms": "flattened",
|
|
20
|
+
"added": [
|
|
21
|
+
"provenance"
|
|
22
|
+
],
|
|
23
|
+
"addedDetail": [
|
|
24
|
+
{
|
|
25
|
+
"key": "provenance",
|
|
26
|
+
"optional": true
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"addedRequired": [],
|
|
30
|
+
"removed": [],
|
|
31
|
+
"breaking": false,
|
|
32
|
+
"criteriaCovered": false
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "ModDispatchOptions",
|
|
36
|
+
"at": [
|
|
37
|
+
"src/dispatch.ts:93"
|
|
38
|
+
],
|
|
39
|
+
"added": [
|
|
40
|
+
"checkHandOn"
|
|
41
|
+
],
|
|
42
|
+
"addedDetail": [
|
|
43
|
+
{
|
|
44
|
+
"key": "checkHandOn",
|
|
45
|
+
"optional": true
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"addedRequired": [],
|
|
49
|
+
"removed": [],
|
|
50
|
+
"breaking": false,
|
|
51
|
+
"criteriaCovered": false
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"typeKeysUnreadableArms": [
|
|
55
|
+
{
|
|
56
|
+
"type": "ModAdmissionRecord",
|
|
57
|
+
"at": "src/registration.ts:152",
|
|
58
|
+
"reasons": [
|
|
59
|
+
"a union of 2 key-bearing arm(s) with no discriminating property (no property is declared by every key-bearing arm with literal words that no other arm shares), so its arms are read TOGETHER — a key added to one arm while a sibling already carries that name moves nothing in this manifest"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"typeKeysFlattenedCount": 1,
|
|
64
|
+
"signatures": [],
|
|
65
|
+
"declarationMoves": [],
|
|
66
|
+
"mintMoves": [],
|
|
67
|
+
"criteriaObserves": [],
|
|
68
|
+
"consumersHint": {
|
|
69
|
+
"cli": [],
|
|
70
|
+
"server": [
|
|
71
|
+
"ModAdmissionRecord"
|
|
72
|
+
],
|
|
73
|
+
"sdk": [
|
|
74
|
+
"ModAdmissionRecord"
|
|
75
|
+
],
|
|
76
|
+
"note": "scanned cli@64eac171 server@34b8f5ec sdk@65d8beb — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
77
|
+
},
|
|
78
|
+
"breakingCount": 0,
|
|
79
|
+
"breakingItems": [],
|
|
80
|
+
"toResolvedAt": "e61505c518e4f99776279f21288ddf8a9f5fc831"
|
|
81
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"package": "@sema-agent/mods-kernel",
|
|
4
|
+
"version": "7.59.0",
|
|
5
|
+
"from": "05f1a14710d078da0b338fe8712e16f8d790f6bd",
|
|
6
|
+
"to": "v7.59.0",
|
|
7
|
+
"added": [],
|
|
8
|
+
"removed": [],
|
|
9
|
+
"changed": [],
|
|
10
|
+
"narrowed": [],
|
|
11
|
+
"closedSetMembers": [],
|
|
12
|
+
"closedSetsUnreadable": [],
|
|
13
|
+
"typeKeys": [],
|
|
14
|
+
"typeKeysUnreadableArms": [],
|
|
15
|
+
"typeKeysFlattenedCount": 1,
|
|
16
|
+
"signatures": [],
|
|
17
|
+
"declarationMoves": [],
|
|
18
|
+
"mintMoves": [],
|
|
19
|
+
"criteriaObserves": [],
|
|
20
|
+
"consumersHint": {
|
|
21
|
+
"cli": [],
|
|
22
|
+
"server": [],
|
|
23
|
+
"sdk": [],
|
|
24
|
+
"note": "scanned cli@7fb306ab server@c00f1057 sdk@65d8beb — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
25
|
+
},
|
|
26
|
+
"breakingCount": 0,
|
|
27
|
+
"breakingItems": [],
|
|
28
|
+
"toResolvedAt": "0a417a1ed25e4fda4bc457356b6f53a62c2729f6"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"package": "@sema-agent/primitives",
|
|
4
|
+
"version": "7.58.0",
|
|
5
|
+
"from": "84be0e09dcdd8e157f88f083241ceafedc0f33aa",
|
|
6
|
+
"to": "v7.58.0",
|
|
7
|
+
"added": [],
|
|
8
|
+
"removed": [],
|
|
9
|
+
"changed": [],
|
|
10
|
+
"narrowed": [],
|
|
11
|
+
"closedSetMembers": [],
|
|
12
|
+
"closedSetsUnreadable": [],
|
|
13
|
+
"typeKeys": [],
|
|
14
|
+
"typeKeysUnreadableArms": [],
|
|
15
|
+
"typeKeysFlattenedCount": 1,
|
|
16
|
+
"signatures": [],
|
|
17
|
+
"declarationMoves": [],
|
|
18
|
+
"mintMoves": [],
|
|
19
|
+
"criteriaObserves": [],
|
|
20
|
+
"consumersHint": {
|
|
21
|
+
"cli": [],
|
|
22
|
+
"server": [],
|
|
23
|
+
"sdk": [],
|
|
24
|
+
"note": "scanned cli@64eac171 server@34b8f5ec sdk@65d8beb — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
25
|
+
},
|
|
26
|
+
"breakingCount": 0,
|
|
27
|
+
"breakingItems": [],
|
|
28
|
+
"toResolvedAt": "e61505c518e4f99776279f21288ddf8a9f5fc831"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"package": "@sema-agent/primitives",
|
|
4
|
+
"version": "7.59.0",
|
|
5
|
+
"from": "05f1a14710d078da0b338fe8712e16f8d790f6bd",
|
|
6
|
+
"to": "v7.59.0",
|
|
7
|
+
"added": [],
|
|
8
|
+
"removed": [],
|
|
9
|
+
"changed": [],
|
|
10
|
+
"narrowed": [],
|
|
11
|
+
"closedSetMembers": [],
|
|
12
|
+
"closedSetsUnreadable": [],
|
|
13
|
+
"typeKeys": [],
|
|
14
|
+
"typeKeysUnreadableArms": [],
|
|
15
|
+
"typeKeysFlattenedCount": 1,
|
|
16
|
+
"signatures": [],
|
|
17
|
+
"declarationMoves": [],
|
|
18
|
+
"mintMoves": [],
|
|
19
|
+
"criteriaObserves": [],
|
|
20
|
+
"consumersHint": {
|
|
21
|
+
"cli": [],
|
|
22
|
+
"server": [],
|
|
23
|
+
"sdk": [],
|
|
24
|
+
"note": "scanned cli@7fb306ab server@c00f1057 sdk@65d8beb — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
25
|
+
},
|
|
26
|
+
"breakingCount": 0,
|
|
27
|
+
"breakingItems": [],
|
|
28
|
+
"toResolvedAt": "0a417a1ed25e4fda4bc457356b6f53a62c2729f6"
|
|
29
|
+
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The credential reference: how a declaration names a credential without carrying one. This module says which references
|
|
3
|
-
* exist and whether a value is one, so the engine's door, an acceptance gate, a settings validator and an admin form read
|
|
4
|
-
* one closed set through one function. It resolves nothing, reads no environment and holds no state.
|
|
5
|
-
* Zero dependencies: no builtin, no import, so the same file runs in Node and in a browser.
|
|
6
|
-
*/
|
|
7
|
-
/** The closed set of kinds. A value whose `kind` is not in it is refused, never guessed at. */
|
|
8
|
-
export declare const CREDENTIAL_REF_KINDS: readonly ["env", "vault", "handle", "assertion"];
|
|
9
|
-
export type CredentialRefKind = (typeof CREDENTIAL_REF_KINDS)[number];
|
|
10
|
-
/**
|
|
11
|
-
* A reference, by kind. `env` names variables of the resolver's environment (header name → variable name for an http
|
|
12
|
-
* peer, child variable → variable name for a stdio peer; the maps have no prototype); `vault` names a stored entry;
|
|
13
|
-
* `handle` is an opaque id the deployment minted; `assertion` names the audience a short-lived assertion is requested for.
|
|
14
|
-
*/
|
|
15
|
-
export type CredentialRef = {
|
|
16
|
-
readonly kind: "env";
|
|
17
|
-
readonly headers?: Readonly<Record<string, string>>;
|
|
18
|
-
readonly env?: Readonly<Record<string, string>>;
|
|
19
|
-
} | {
|
|
20
|
-
readonly kind: "vault";
|
|
21
|
-
readonly entry: string;
|
|
22
|
-
} | {
|
|
23
|
-
readonly kind: "handle";
|
|
24
|
-
readonly id: string;
|
|
25
|
-
} | {
|
|
26
|
-
readonly kind: "assertion";
|
|
27
|
-
readonly audience: string;
|
|
28
|
-
};
|
|
29
|
-
/** What an acceptance gate may do with a reference that arrives on the request surface (the deployment may write any kind). */
|
|
30
|
-
export type CredentialRefRequestAdmission = "refused" | "own_entry";
|
|
31
|
-
type TrustRow = {
|
|
32
|
-
readonly request: CredentialRefRequestAdmission;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Where each kind may come from. `refused`: a request surface may not carry it (an environment name would read any
|
|
36
|
-
* variable of the resolver's process, a handle names someone else's credential, an assertion is minted by the deployment);
|
|
37
|
-
* `own_entry`: only for an entry that belongs to the submitting principal. A row per kind and nothing else (no prototype);
|
|
38
|
-
* look a kind up only after `readCredentialRef` accepted the value. A shape for a gate to read; it authenticates nothing.
|
|
39
|
-
*/
|
|
40
|
-
export declare const CREDENTIAL_REF_TRUST: Readonly<Record<CredentialRefKind, TrustRow>>;
|
|
41
|
-
/** The longest text member (entry, id, audience, header name, variable name) a reference may carry, in UTF-16 code units. */
|
|
42
|
-
export declare const CREDENTIAL_REF_TEXT_MAX = 2048;
|
|
43
|
-
/** The most entries one name map (`headers`, `env`) of an `env` reference may hold. */
|
|
44
|
-
export declare const CREDENTIAL_REF_MAP_MAX = 64;
|
|
45
|
-
/** Why a value is not a reference; each reason is its own exit. */
|
|
46
|
-
export declare const CREDENTIAL_REF_PROBLEM_REASONS: readonly ["not_a_record", "unknown_kind", "missing_field", "extra_field", "bad_value"];
|
|
47
|
-
export type CredentialRefProblemReason = (typeof CREDENTIAL_REF_PROBLEM_REASONS)[number];
|
|
48
|
-
/**
|
|
49
|
-
* The first fault found, in this order: not an ordinary record; `kind` missing, not text or outside the set; a member the
|
|
50
|
-
* kind does not have; a member it needs (for `env`, one of `headers` and `env`, written `headers|env`); a member of the
|
|
51
|
-
* wrong form. A `kind` or `field` read off the caller's value is untrusted text, cut to 64 characters with unsafe
|
|
52
|
-
* characters replaced; fence it before rendering it where markup is interpreted.
|
|
53
|
-
*/
|
|
54
|
-
export type CredentialRefProblem = {
|
|
55
|
-
readonly reason: "not_a_record";
|
|
56
|
-
} | {
|
|
57
|
-
readonly reason: "unknown_kind";
|
|
58
|
-
readonly kind: string;
|
|
59
|
-
} | {
|
|
60
|
-
readonly reason: "missing_field";
|
|
61
|
-
readonly kind?: CredentialRefKind;
|
|
62
|
-
readonly field: string;
|
|
63
|
-
} | {
|
|
64
|
-
readonly reason: "extra_field";
|
|
65
|
-
readonly kind: CredentialRefKind;
|
|
66
|
-
readonly field: string;
|
|
67
|
-
} | {
|
|
68
|
-
readonly reason: "bad_value";
|
|
69
|
-
readonly kind?: CredentialRefKind;
|
|
70
|
-
readonly field: string;
|
|
71
|
-
};
|
|
72
|
-
export type CredentialRefReading = {
|
|
73
|
-
readonly ok: true;
|
|
74
|
-
readonly ref: CredentialRef;
|
|
75
|
-
} | {
|
|
76
|
-
readonly ok: false;
|
|
77
|
-
readonly problem: CredentialRefProblem;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* The one reader of a credential reference: a fresh frozen copy that the caller's later writes cannot reach (forward the
|
|
81
|
-
* copy, never the value read), or the first problem. Nothing inside it throws: a value whose members cannot be read (a
|
|
82
|
-
* revoked or throwing Proxy) is `not_a_record`, or the `bad_value` of the map that holds it. A getter is refused and never
|
|
83
|
-
* called, no prototype is read for a member, and a Proxy's own traps (on the value, its maps or its prototype) are the
|
|
84
|
-
* caller's code and run as for any property read. Text is compared as written: nothing is normalised, and visually
|
|
85
|
-
* confusable text is not judged. With no stack left a valid value may be refused (any reason), never an invalid one
|
|
86
|
-
* accepted, and the call itself may throw a `RangeError` before it is entered.
|
|
87
|
-
*/
|
|
88
|
-
export declare function readCredentialRef(value: unknown): CredentialRefReading;
|
|
89
|
-
export {};
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
export const CREDENTIAL_REF_KINDS = Object.freeze(["env", "vault", "handle", "assertion"]);
|
|
2
|
-
export const CREDENTIAL_REF_TRUST = trustTable();
|
|
3
|
-
function trustTable() {
|
|
4
|
-
const rows = Object.create(null);
|
|
5
|
-
rows.env = Object.freeze({ request: "refused" });
|
|
6
|
-
rows.vault = Object.freeze({ request: "own_entry" });
|
|
7
|
-
rows.handle = Object.freeze({ request: "refused" });
|
|
8
|
-
rows.assertion = Object.freeze({ request: "refused" });
|
|
9
|
-
return Object.freeze(rows);
|
|
10
|
-
}
|
|
11
|
-
export const CREDENTIAL_REF_TEXT_MAX = 2048;
|
|
12
|
-
export const CREDENTIAL_REF_MAP_MAX = 64;
|
|
13
|
-
export const CREDENTIAL_REF_PROBLEM_REASONS = Object.freeze(["not_a_record", "unknown_kind", "missing_field", "extra_field", "bad_value"]);
|
|
14
|
-
const MEMBERS = {
|
|
15
|
-
env: ["headers", "env"],
|
|
16
|
-
vault: ["entry"],
|
|
17
|
-
handle: ["id"],
|
|
18
|
-
assertion: ["audience"],
|
|
19
|
-
};
|
|
20
|
-
const TEXT_MEMBER = { vault: "entry", handle: "id", assertion: "audience" };
|
|
21
|
-
const HEADER_NAME = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
22
|
-
const ENV_NAME = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
23
|
-
const ECHO_MAX = 64;
|
|
24
|
-
const UNSAFE = /[\p{Cc}\p{Cf}\p{Zl}\p{Zp}\p{DI}\p{NChar}\p{Co}\ud800-\udfff]/u;
|
|
25
|
-
const UNSAFE_ALL = new RegExp(UNSAFE.source, "gu");
|
|
26
|
-
const ABSENT = Object.freeze({ found: "absent" });
|
|
27
|
-
const ACCESSOR = Object.freeze({ found: "accessor" });
|
|
28
|
-
const NOT_A_RECORD = Object.freeze({ ok: false, problem: Object.freeze({ reason: "not_a_record" }) });
|
|
29
|
-
function isRecord(value) {
|
|
30
|
-
if (typeof value !== "object" || value === null || Array.isArray(value))
|
|
31
|
-
return false;
|
|
32
|
-
const proto = Object.getPrototypeOf(value);
|
|
33
|
-
return proto === null || Object.getPrototypeOf(proto) === null;
|
|
34
|
-
}
|
|
35
|
-
function member(record, key) {
|
|
36
|
-
const descriptor = Object.getOwnPropertyDescriptor(record, key);
|
|
37
|
-
if (descriptor === undefined || descriptor.enumerable !== true)
|
|
38
|
-
return ABSENT;
|
|
39
|
-
return Object.hasOwn(descriptor, "value") ? { found: "value", value: descriptor.value } : ACCESSOR;
|
|
40
|
-
}
|
|
41
|
-
const echo = (text) => text.slice(0, ECHO_MAX).replace(UNSAFE_ALL, "?");
|
|
42
|
-
const refused = (problem) => Object.freeze({ ok: false, problem: Object.freeze(problem) });
|
|
43
|
-
const accepted = (ref) => Object.freeze({ ok: true, ref });
|
|
44
|
-
const isText = (value) => typeof value === "string" && value.length > 0 && value.length <= CREDENTIAL_REF_TEXT_MAX && !UNSAFE.test(value) && value === value.trim();
|
|
45
|
-
const isName = (value, form) => value.length <= CREDENTIAL_REF_TEXT_MAX && form.test(value);
|
|
46
|
-
function nameMap(value, keyForm, foldCase) {
|
|
47
|
-
try {
|
|
48
|
-
if (!isRecord(value))
|
|
49
|
-
return undefined;
|
|
50
|
-
const names = Object.keys(value);
|
|
51
|
-
if (names.length === 0 || names.length > CREDENTIAL_REF_MAP_MAX)
|
|
52
|
-
return undefined;
|
|
53
|
-
const out = Object.create(null);
|
|
54
|
-
const folded = new Set();
|
|
55
|
-
for (const name of names) {
|
|
56
|
-
const found = member(value, name);
|
|
57
|
-
if (found.found !== "value" || typeof found.value !== "string")
|
|
58
|
-
return undefined;
|
|
59
|
-
if (!isName(name, keyForm) || !isName(found.value, ENV_NAME))
|
|
60
|
-
return undefined;
|
|
61
|
-
if (foldCase) {
|
|
62
|
-
const key = name.toLowerCase();
|
|
63
|
-
if (folded.has(key))
|
|
64
|
-
return undefined;
|
|
65
|
-
folded.add(key);
|
|
66
|
-
}
|
|
67
|
-
out[name] = found.value;
|
|
68
|
-
}
|
|
69
|
-
return Object.freeze(out);
|
|
70
|
-
}
|
|
71
|
-
catch {
|
|
72
|
-
return undefined;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
const mapOf = (found, keyForm, foldCase) => (found.found === "value" ? nameMap(found.value, keyForm, foldCase) : undefined);
|
|
76
|
-
function envRef(record) {
|
|
77
|
-
const given = { headers: member(record, "headers"), env: member(record, "env") };
|
|
78
|
-
if (given.headers.found === "absent" && given.env.found === "absent")
|
|
79
|
-
return refused({ reason: "missing_field", kind: "env", field: "headers|env" });
|
|
80
|
-
const headers = mapOf(given.headers, HEADER_NAME, true);
|
|
81
|
-
if (given.headers.found !== "absent" && headers === undefined)
|
|
82
|
-
return refused({ reason: "bad_value", kind: "env", field: "headers" });
|
|
83
|
-
const env = mapOf(given.env, ENV_NAME, false);
|
|
84
|
-
if (given.env.found !== "absent" && env === undefined)
|
|
85
|
-
return refused({ reason: "bad_value", kind: "env", field: "env" });
|
|
86
|
-
return accepted(Object.freeze({ kind: "env", ...(headers === undefined ? {} : { headers }), ...(env === undefined ? {} : { env }) }));
|
|
87
|
-
}
|
|
88
|
-
function read(value) {
|
|
89
|
-
if (!isRecord(value))
|
|
90
|
-
return NOT_A_RECORD;
|
|
91
|
-
const named = member(value, "kind");
|
|
92
|
-
if (named.found === "absent")
|
|
93
|
-
return refused({ reason: "missing_field", field: "kind" });
|
|
94
|
-
if (named.found !== "value" || typeof named.value !== "string")
|
|
95
|
-
return refused({ reason: "bad_value", field: "kind" });
|
|
96
|
-
const text = named.value;
|
|
97
|
-
const kind = CREDENTIAL_REF_KINDS.find((k) => k === text);
|
|
98
|
-
if (kind === undefined)
|
|
99
|
-
return refused({ reason: "unknown_kind", kind: echo(text) });
|
|
100
|
-
for (const key of Object.keys(value)) {
|
|
101
|
-
if (key !== "kind" && !MEMBERS[kind].includes(key))
|
|
102
|
-
return refused({ reason: "extra_field", kind, field: echo(key) });
|
|
103
|
-
}
|
|
104
|
-
if (kind === "env")
|
|
105
|
-
return envRef(value);
|
|
106
|
-
const field = TEXT_MEMBER[kind];
|
|
107
|
-
const found = member(value, field);
|
|
108
|
-
if (found.found === "absent")
|
|
109
|
-
return refused({ reason: "missing_field", kind, field });
|
|
110
|
-
if (found.found !== "value" || !isText(found.value))
|
|
111
|
-
return refused({ reason: "bad_value", kind, field });
|
|
112
|
-
if (kind === "vault")
|
|
113
|
-
return accepted(Object.freeze({ kind, entry: found.value }));
|
|
114
|
-
if (kind === "handle")
|
|
115
|
-
return accepted(Object.freeze({ kind, id: found.value }));
|
|
116
|
-
return accepted(Object.freeze({ kind, audience: found.value }));
|
|
117
|
-
}
|
|
118
|
-
export function readCredentialRef(value) {
|
|
119
|
-
try {
|
|
120
|
-
return read(value);
|
|
121
|
-
}
|
|
122
|
-
catch {
|
|
123
|
-
return NOT_A_RECORD;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/** The package entry of `@sema-agent/primitives`; core reads the same modules directly. */
|
|
2
|
-
export { CREDENTIAL_REF_KINDS, CREDENTIAL_REF_TRUST, CREDENTIAL_REF_TEXT_MAX, CREDENTIAL_REF_MAP_MAX, CREDENTIAL_REF_PROBLEM_REASONS, readCredentialRef, type CredentialRef, type CredentialRefKind, type CredentialRefRequestAdmission, type CredentialRefProblem, type CredentialRefProblemReason, type CredentialRefReading, } from "./credential-ref.js";
|
package/dist/primitives/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CREDENTIAL_REF_KINDS, CREDENTIAL_REF_TRUST, CREDENTIAL_REF_TEXT_MAX, CREDENTIAL_REF_MAP_MAX, CREDENTIAL_REF_PROBLEM_REASONS, readCredentialRef, } from "./credential-ref.js";
|