@nomix-ai/nomix-harness 0.2.3 → 0.2.5
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/dist/cli/builtin-registry.d.ts +1 -1
- package/dist/cli/builtin-registry.js +10 -0
- package/dist/cli/profile-boot.d.ts +2 -2
- package/dist/kernel/acp/lib/index.js +1 -1
- package/dist/kernel/acp/lib/types/content.d.ts +1 -1
- package/dist/kernel/acp/lib/types/index.d.ts +2 -2
- package/dist/kernel/acp/lib/types/index.js +1 -1
- package/dist/kernel/acp/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/acp/package.json +1 -1
- package/dist/kernel/agent/lib/index.js +1 -1
- package/dist/kernel/agent/lib/types/dispatch.d.ts +1 -1
- package/dist/kernel/agent/lib/types/index.d.ts +1 -1
- package/dist/kernel/agent/lib/types/index.js +1 -1
- package/dist/kernel/agent/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/agent/lib/types/model-selection.d.ts +1 -1
- package/dist/kernel/agent/lib/types/runtime-types.d.ts +1 -1
- package/dist/kernel/agent/package.json +1 -1
- package/dist/kernel/agent-default-model/lib/index.js +2 -2
- package/dist/kernel/agent-default-model/lib/types/index.d.ts +2 -2
- package/dist/kernel/agent-default-model/lib/types/index.js +2 -2
- package/dist/kernel/agent-default-model/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/agent-default-model/package.json +1 -1
- package/dist/kernel/agent-instructions/lib/index.js +1 -1
- package/dist/kernel/agent-instructions/lib/types/config.d.ts +1 -1
- package/dist/kernel/agent-instructions/lib/types/config.js +1 -1
- package/dist/kernel/agent-instructions/lib/types/index.d.ts +1 -1
- package/dist/kernel/agent-instructions/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/agent-instructions/package.json +1 -1
- package/dist/kernel/agent-loop/lib/index.js +2 -2
- package/dist/kernel/agent-loop/lib/types/agent.d.ts +1 -1
- package/dist/kernel/agent-loop/lib/types/index.d.ts +2 -2
- package/dist/kernel/agent-loop/lib/types/index.js +2 -2
- package/dist/kernel/agent-loop/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/agent-loop/lib/types/runtime-context.d.ts +1 -1
- package/dist/kernel/agent-loop/lib/types/tool-calls.d.ts +1 -1
- package/dist/kernel/agent-loop/package.json +1 -1
- package/dist/kernel/agent-presets/lib/index.js +3 -3
- package/dist/kernel/agent-presets/lib/invariant.js +3 -3
- package/dist/kernel/agent-presets/lib/types/discovery.js +1 -1
- package/dist/kernel/agent-presets/lib/types/index.d.ts +2 -2
- package/dist/kernel/agent-presets/lib/types/index.js +2 -2
- package/dist/kernel/agent-presets/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/agent-presets/lib/types/mount.d.ts +2 -2
- package/dist/kernel/agent-presets/lib/types/mount.js +2 -2
- package/dist/kernel/agent-presets/package.json +1 -1
- package/dist/kernel/agent-tool-presentation/lib/index.js +1 -1
- package/dist/kernel/agent-tool-presentation/lib/types/index.d.ts +2 -2
- package/dist/kernel/agent-tool-presentation/lib/types/index.js +1 -1
- package/dist/kernel/agent-tool-presentation/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/agent-tool-presentation/package.json +1 -1
- package/dist/kernel/anonymous-user-id/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/anonymous-user-id/package.json +1 -1
- package/dist/kernel/api-gateway/lib/index.js +1 -1
- package/dist/kernel/api-gateway/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/api-gateway/lib/types/client/index.js +1 -1
- package/dist/kernel/api-gateway/lib/types/index.d.ts +1 -1
- package/dist/kernel/api-gateway/lib/types/index.js +1 -1
- package/dist/kernel/api-gateway/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/api-gateway/package.json +1 -1
- package/dist/kernel/api-remotes/lib/types/agent-lookup.d.ts +1 -1
- package/dist/kernel/api-remotes/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/api-remotes/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/api-remotes/package.json +1 -1
- package/dist/kernel/app-boot/lib/index.js +4 -4
- package/dist/kernel/app-boot/lib/types/index.d.ts +3 -3
- package/dist/kernel/app-boot/lib/types/index.js +4 -4
- package/dist/kernel/app-boot/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/app-boot/lib/types/profile.d.ts +2 -2
- package/dist/kernel/app-boot/lib/types/profile.js +2 -2
- package/dist/kernel/app-boot/package.json +1 -1
- package/dist/kernel/atomic-write/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/atomic-write/package.json +1 -1
- package/dist/kernel/attachment/lib/index.js +1 -1
- package/dist/kernel/attachment/lib/types/index.d.ts +1 -1
- package/dist/kernel/attachment/lib/types/index.js +1 -1
- package/dist/kernel/attachment/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/attachment/package.json +1 -1
- package/dist/kernel/attachment-local/lib/index.js +1 -1
- package/dist/kernel/attachment-local/lib/types/index.d.ts +2 -2
- package/dist/kernel/attachment-local/lib/types/index.js +1 -1
- package/dist/kernel/attachment-local/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/attachment-local/package.json +1 -1
- package/dist/kernel/base/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/base/package.json +1 -1
- package/dist/kernel/bash-local/lib/index.js +1 -1
- package/dist/kernel/bash-local/lib/types/index.d.ts +2 -2
- package/dist/kernel/bash-local/lib/types/index.js +1 -1
- package/dist/kernel/bash-local/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/bash-local/package.json +1 -1
- package/dist/kernel/bash-sandbox/lib/types/index.d.ts +1 -1
- package/dist/kernel/bash-sandbox/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/bash-sandbox/package.json +1 -1
- package/dist/kernel/brand/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/brand/package.json +1 -1
- package/dist/kernel/client-connection/lib/index.js +2 -2
- package/dist/kernel/client-connection/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-connection/lib/types/index.d.ts +2 -2
- package/dist/kernel/client-connection/lib/types/index.js +1 -1
- package/dist/kernel/client-connection/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-connection/lib/types/rpc-host.d.ts +1 -1
- package/dist/kernel/client-connection/lib/types/rpc-host.js +1 -1
- package/dist/kernel/client-connection/package.json +1 -1
- package/dist/kernel/client-hmr/lib/index.js +1 -1
- package/dist/kernel/client-hmr/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-hmr/lib/types/index.d.ts +2 -2
- package/dist/kernel/client-hmr/lib/types/index.js +1 -1
- package/dist/kernel/client-hmr/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-hmr/package.json +1 -1
- package/dist/kernel/client-locale/lib/client.js +1 -1
- package/dist/kernel/client-locale/lib/index.js +1 -1
- package/dist/kernel/client-locale/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-locale/lib/types/index.d.ts +1 -1
- package/dist/kernel/client-locale/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-locale/lib/types/locale-settings.d.ts +1 -1
- package/dist/kernel/client-locale/lib/types/locale-settings.js +1 -1
- package/dist/kernel/client-locale/package.json +1 -1
- package/dist/kernel/client-modules/lib/index.js +1 -1
- package/dist/kernel/client-modules/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-modules/lib/types/index.d.ts +2 -2
- package/dist/kernel/client-modules/lib/types/index.js +1 -1
- package/dist/kernel/client-modules/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-modules/package.json +1 -1
- package/dist/kernel/client-runtime/lib/types/client/agents/scope.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/agents/scope.js +1 -1
- package/dist/kernel/client-runtime/lib/types/client/contract/sessions.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/conversation/definition-registry.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/conversation/definition-registry.js +1 -1
- package/dist/kernel/client-runtime/lib/types/client/conversation/event-registry.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/conversation/view-registry.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/sessions/remotes.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/sessions/service.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/sessions/session.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/client/slots.d.ts +2 -2
- package/dist/kernel/client-runtime/lib/types/client/slots.js +1 -1
- package/dist/kernel/client-runtime/lib/types/client/workspaces/service.d.ts +1 -1
- package/dist/kernel/client-runtime/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-runtime/package.json +1 -1
- package/dist/kernel/client-schema-form/lib/index.js +1 -1
- package/dist/kernel/client-schema-form/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-schema-form/lib/types/model.d.ts +1 -1
- package/dist/kernel/client-schema-form/lib/types/model.js +1 -1
- package/dist/kernel/client-schema-form/package.json +1 -1
- package/dist/kernel/client-ui-agent-preset/lib/client.js +36 -36
- package/dist/kernel/client-ui-agent-preset/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-agent-preset/package.json +1 -1
- package/dist/kernel/client-ui-attachment/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-attachment/package.json +1 -1
- package/dist/kernel/client-ui-commands/lib/client.js +7 -7
- package/dist/kernel/client-ui-commands/lib/types/client/service.d.ts +2 -2
- package/dist/kernel/client-ui-commands/lib/types/client/service.js +1 -1
- package/dist/kernel/client-ui-commands/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-commands/package.json +1 -1
- package/dist/kernel/client-ui-conversation/lib/client.js +156 -156
- package/dist/kernel/client-ui-conversation/lib/index.js +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/apply.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/chat/register-node-renderers.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/assistant.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/chat-snapshot-builder.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/command.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/compaction.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/fallback.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/inbox.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/message.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/register.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/retry.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/tool.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/turn-error.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/turn-max-tokens.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/turn-tail.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/queue/QueueDock.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/service.d.ts +2 -2
- package/dist/kernel/client-ui-conversation/lib/types/client/service.js +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/TodoPanel.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/index.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/submission-settings.d.ts +1 -1
- package/dist/kernel/client-ui-conversation/lib/types/submission-settings.js +1 -1
- package/dist/kernel/client-ui-conversation/package.json +1 -1
- package/dist/kernel/client-ui-cordis/lib/client.js +48 -48
- package/dist/kernel/client-ui-cordis/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-cordis/package.json +1 -1
- package/dist/kernel/client-ui-deliverables/lib/client.js +4 -4
- package/dist/kernel/client-ui-deliverables/lib/types/index.d.ts +1 -1
- package/dist/kernel/client-ui-deliverables/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-deliverables/package.json +1 -1
- package/dist/kernel/client-ui-directory-picker-browse/lib/client.js +29 -29
- package/dist/kernel/client-ui-directory-picker-browse/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-directory-picker-browse/package.json +1 -1
- package/dist/kernel/client-ui-directory-picker-native/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-directory-picker-native/package.json +1 -1
- package/dist/kernel/client-ui-goal/lib/client.js +8 -8
- package/dist/kernel/client-ui-goal/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-goal/package.json +1 -1
- package/dist/kernel/client-ui-input-trigger/lib/client.js +7 -7
- package/dist/kernel/client-ui-input-trigger/lib/types/client/service.d.ts +2 -2
- package/dist/kernel/client-ui-input-trigger/lib/types/client/service.js +1 -1
- package/dist/kernel/client-ui-input-trigger/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-input-trigger/package.json +1 -1
- package/dist/kernel/client-ui-jobs/lib/client.js +8 -8
- package/dist/kernel/client-ui-jobs/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-jobs/package.json +1 -1
- package/dist/kernel/client-ui-layout/lib/client.js +2 -2
- package/dist/kernel/client-ui-layout/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-layout/package.json +1 -1
- package/dist/kernel/client-ui-message-feedback/lib/client.js +4 -4
- package/dist/kernel/client-ui-message-feedback/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-message-feedback/package.json +1 -1
- package/dist/kernel/client-ui-model-selection/lib/client.js +16 -16
- package/dist/kernel/client-ui-model-selection/lib/types/client/service.d.ts +2 -2
- package/dist/kernel/client-ui-model-selection/lib/types/client/service.js +1 -1
- package/dist/kernel/client-ui-model-selection/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-model-selection/package.json +1 -1
- package/dist/kernel/client-ui-permission-presets/lib/client.js +3 -3
- package/dist/kernel/client-ui-permission-presets/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-permission-presets/package.json +1 -1
- package/dist/kernel/client-ui-plan/lib/client.js +2 -2
- package/dist/kernel/client-ui-plan/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-plan/package.json +1 -1
- package/dist/kernel/client-ui-primitives/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-primitives/package.json +1 -1
- package/dist/kernel/client-ui-settings/lib/types/client/settings-scope.d.ts +2 -2
- package/dist/kernel/client-ui-settings/lib/types/client/settings-scope.js +1 -1
- package/dist/kernel/client-ui-settings/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-settings/package.json +1 -1
- package/dist/kernel/client-ui-settings-general/lib/client.js +16 -16
- package/dist/kernel/client-ui-settings-general/lib/index.js +1 -1
- package/dist/kernel/client-ui-settings-general/lib/types/index.d.ts +1 -1
- package/dist/kernel/client-ui-settings-general/lib/types/index.js +1 -1
- package/dist/kernel/client-ui-settings-general/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-settings-general/package.json +1 -1
- package/dist/kernel/client-ui-settings-models/lib/client.js +55 -55
- package/dist/kernel/client-ui-settings-models/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-settings-models/package.json +1 -1
- package/dist/kernel/client-ui-settings-plugin-inventory/lib/client.js +11 -11
- package/dist/kernel/client-ui-settings-plugin-inventory/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-settings-plugin-inventory/package.json +1 -1
- package/dist/kernel/client-ui-settings-plugins/lib/client.js +21 -21
- package/dist/kernel/client-ui-settings-plugins/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-settings-plugins/package.json +1 -1
- package/dist/kernel/client-ui-sidebar/lib/client.js +14 -14
- package/dist/kernel/client-ui-sidebar/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-sidebar/package.json +1 -1
- package/dist/kernel/client-ui-skill/lib/client.js +12 -12
- package/dist/kernel/client-ui-skill/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-skill/package.json +1 -1
- package/dist/kernel/client-ui-slots/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-slots/package.json +1 -1
- package/dist/kernel/client-ui-subagent/lib/client.js +17 -17
- package/dist/kernel/client-ui-subagent/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-subagent/package.json +1 -1
- package/dist/kernel/client-ui-theme/lib/client.js +3 -3
- package/dist/kernel/client-ui-theme/lib/index.js +1 -1
- package/dist/kernel/client-ui-theme/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-ui-theme/lib/types/index.d.ts +1 -1
- package/dist/kernel/client-ui-theme/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-theme/lib/types/theme-settings.d.ts +1 -1
- package/dist/kernel/client-ui-theme/lib/types/theme-settings.js +1 -1
- package/dist/kernel/client-ui-theme/package.json +1 -1
- package/dist/kernel/client-ui-tool/lib/client.js +37 -37
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/ask-question-row.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/bash-sample.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/file-mutation-row.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/read-row.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/search-row.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/todo-row.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/web-row.d.ts +1 -1
- package/dist/kernel/client-ui-tool/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-tool/package.json +1 -1
- package/dist/kernel/client-ui-trajectory/lib/client.js +149 -149
- package/dist/kernel/client-ui-trajectory/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-assistant-definition.d.ts +1 -1
- package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-compaction-definition.d.ts +1 -1
- package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-message-definitions.d.ts +1 -1
- package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-request-header-definition.d.ts +1 -1
- package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-snapshot-builder.d.ts +1 -1
- package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-tool-definition.d.ts +1 -1
- package/dist/kernel/client-ui-trajectory/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-trajectory/package.json +1 -1
- package/dist/kernel/client-ui-user-questions/lib/client.js +29 -29
- package/dist/kernel/client-ui-user-questions/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-user-questions/package.json +1 -1
- package/dist/kernel/client-ui-workflow-run/lib/client.js +16 -16
- package/dist/kernel/client-ui-workflow-run/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-workflow-run/package.json +1 -1
- package/dist/kernel/client-ui-workspace/lib/client.js +56 -56
- package/dist/kernel/client-ui-workspace/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-ui-workspace/package.json +1 -1
- package/dist/kernel/client-web/lib/index.js +3 -3
- package/dist/kernel/client-web/lib/types/app-shell.d.ts +1 -1
- package/dist/kernel/client-web/lib/types/app.d.ts +1 -1
- package/dist/kernel/client-web/lib/types/boot.js +2 -2
- package/dist/kernel/client-web/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-web/lib/types/loader-status.d.ts +1 -1
- package/dist/kernel/client-web/lib/types/seed.js +1 -1
- package/dist/kernel/client-web/package.json +1 -1
- package/dist/kernel/client-web-react/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/client-web-react/package.json +1 -1
- package/dist/kernel/cmdline/lib/types/index.d.ts +1 -1
- package/dist/kernel/cmdline/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/cmdline/package.json +1 -1
- package/dist/kernel/code-runtime/lib/index.js +1 -1
- package/dist/kernel/code-runtime/lib/types/index.d.ts +1 -1
- package/dist/kernel/code-runtime/lib/types/index.js +1 -1
- package/dist/kernel/code-runtime/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/code-runtime/package.json +1 -1
- package/dist/kernel/code-runtime-worker-thread/lib/index.js +1 -1
- package/dist/kernel/code-runtime-worker-thread/lib/types/index.d.ts +2 -2
- package/dist/kernel/code-runtime-worker-thread/lib/types/index.js +1 -1
- package/dist/kernel/code-runtime-worker-thread/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/code-runtime-worker-thread/package.json +1 -1
- package/dist/kernel/command-compact/lib/types/index.d.ts +1 -1
- package/dist/kernel/command-compact/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/command-compact/package.json +1 -1
- package/dist/kernel/command-feedback/lib/types/index.d.ts +1 -1
- package/dist/kernel/command-feedback/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/command-feedback/package.json +1 -1
- package/dist/kernel/command-goal/lib/types/index.d.ts +1 -1
- package/dist/kernel/command-goal/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/command-goal/package.json +1 -1
- package/dist/kernel/commands/lib/types/index.d.ts +1 -1
- package/dist/kernel/commands/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/commands/package.json +1 -1
- package/dist/kernel/compaction/lib/index.js +1 -1
- package/dist/kernel/compaction/lib/types/index.d.ts +1 -1
- package/dist/kernel/compaction/lib/types/index.js +1 -1
- package/dist/kernel/compaction/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/compaction/package.json +1 -1
- package/dist/kernel/compaction-basic/lib/index.js +1 -1
- package/dist/kernel/compaction-basic/lib/types/index.d.ts +2 -2
- package/dist/kernel/compaction-basic/lib/types/index.js +1 -1
- package/dist/kernel/compaction-basic/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/compaction-basic/lib/types/summarizer.d.ts +1 -1
- package/dist/kernel/compaction-basic/package.json +1 -1
- package/dist/kernel/compaction-tool-result-pruner/lib/index.js +2 -2
- package/dist/kernel/compaction-tool-result-pruner/lib/types/index.d.ts +2 -2
- package/dist/kernel/compaction-tool-result-pruner/lib/types/index.js +2 -2
- package/dist/kernel/compaction-tool-result-pruner/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/compaction-tool-result-pruner/package.json +1 -1
- package/dist/kernel/cordis/bin.js +16 -0
- package/dist/kernel/cordis/lib/index.js +1828 -0
- package/dist/kernel/cordis/lib/types/context.d.ts +101 -0
- package/dist/kernel/cordis/lib/types/context.js +99 -0
- package/dist/kernel/cordis/lib/types/events.d.ts +240 -0
- package/dist/kernel/cordis/lib/types/events.js +199 -0
- package/dist/kernel/cordis/lib/types/fiber.d.ts +202 -0
- package/dist/kernel/cordis/lib/types/fiber.js +660 -0
- package/dist/kernel/cordis/lib/types/index.d.ts +15 -0
- package/dist/kernel/cordis/lib/types/index.js +15 -0
- package/dist/kernel/cordis/lib/types/logger.d.ts +105 -0
- package/dist/kernel/cordis/lib/types/logger.js +185 -0
- package/dist/kernel/cordis/lib/types/reflect.d.ts +186 -0
- package/dist/kernel/cordis/lib/types/reflect.js +310 -0
- package/dist/kernel/cordis/lib/types/registry.d.ts +201 -0
- package/dist/kernel/cordis/lib/types/registry.js +218 -0
- package/dist/kernel/cordis/lib/types/service.d.ts +55 -0
- package/dist/kernel/cordis/lib/types/service.js +113 -0
- package/dist/kernel/cordis/lib/types/utils.d.ts +62 -0
- package/dist/kernel/cordis/lib/types/utils.js +271 -0
- package/dist/kernel/cordis/package.json +49 -0
- package/dist/kernel/cordis-client-runner/lib/types/client/guard.d.ts +1 -1
- package/dist/kernel/cordis-client-runner/lib/types/client/guard.js +1 -1
- package/dist/kernel/cordis-client-runner/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/cordis-client-runner/lib/types/client/inspect-registry.d.ts +1 -1
- package/dist/kernel/cordis-client-runner/lib/types/client/providers.d.ts +1 -1
- package/dist/kernel/cordis-client-runner/lib/types/client/runtime.d.ts +2 -2
- package/dist/kernel/cordis-client-runner/lib/types/client/timer.d.ts +2 -2
- package/dist/kernel/cordis-client-runner/lib/types/client/timer.js +1 -1
- package/dist/kernel/cordis-client-runner/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/cordis-client-runner/package.json +1 -1
- package/dist/kernel/cordis-host-runner/lib/index.js +2 -2
- package/dist/kernel/cordis-host-runner/lib/types/guard.d.ts +2 -2
- package/dist/kernel/cordis-host-runner/lib/types/guard.js +1 -1
- package/dist/kernel/cordis-host-runner/lib/types/index.d.ts +3 -3
- package/dist/kernel/cordis-host-runner/lib/types/index.js +1 -1
- package/dist/kernel/cordis-host-runner/lib/types/inspect-registry.d.ts +2 -2
- package/dist/kernel/cordis-host-runner/lib/types/inspect-registry.js +1 -1
- package/dist/kernel/cordis-host-runner/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/cordis-host-runner/lib/types/lifecycle.d.ts +1 -1
- package/dist/kernel/cordis-host-runner/lib/types/registry.d.ts +1 -1
- package/dist/kernel/cordis-host-runner/package.json +1 -1
- package/dist/kernel/cordis-plugin-group/lib/index.js +5 -0
- package/dist/kernel/cordis-plugin-group/lib/types/index.d.ts +3 -0
- package/dist/kernel/cordis-plugin-group/lib/types/index.js +3 -0
- package/dist/kernel/cordis-plugin-group/package.json +34 -0
- package/dist/kernel/cordis-plugin-hmr/lib/index.js +452 -0
- package/dist/kernel/cordis-plugin-hmr/lib/types/error.d.ts +4 -0
- package/dist/kernel/cordis-plugin-hmr/lib/types/error.js +33 -0
- package/dist/kernel/cordis-plugin-hmr/lib/types/index.d.ts +87 -0
- package/dist/kernel/cordis-plugin-hmr/lib/types/index.js +525 -0
- package/dist/kernel/cordis-plugin-hmr/package.json +57 -0
- package/dist/kernel/cordis-plugin-include/lib/index.js +284 -0
- package/dist/kernel/cordis-plugin-include/lib/types/index.d.ts +99 -0
- package/dist/kernel/cordis-plugin-include/lib/types/index.js +331 -0
- package/dist/kernel/cordis-plugin-include/package.json +38 -0
- package/dist/kernel/cordis-plugin-loader/lib/index.js +744 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/config/entry.d.ts +56 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/config/entry.js +283 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/config/group.d.ts +27 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/config/group.js +139 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/config/isolate.d.ts +35 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/config/isolate.js +151 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/config/tree.d.ts +38 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/config/tree.js +169 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/config/utils.d.ts +11 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/config/utils.js +28 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/index.d.ts +73 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/index.js +154 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/internal.d.ts +97 -0
- package/dist/kernel/cordis-plugin-loader/lib/types/internal.js +36 -0
- package/dist/kernel/cordis-plugin-loader/package.json +42 -0
- package/dist/kernel/cordis-plugin-logger-console/lib/browser.js +80 -0
- package/dist/kernel/cordis-plugin-logger-console/lib/index.js +95 -0
- package/dist/kernel/cordis-plugin-logger-console/lib/types/browser.d.ts +10 -0
- package/dist/kernel/cordis-plugin-logger-console/lib/types/browser.js +14 -0
- package/dist/kernel/cordis-plugin-logger-console/lib/types/index.d.ts +15 -0
- package/dist/kernel/cordis-plugin-logger-console/lib/types/index.js +23 -0
- package/dist/kernel/cordis-plugin-logger-console/lib/types/shared.d.ts +45 -0
- package/dist/kernel/cordis-plugin-logger-console/lib/types/shared.js +73 -0
- package/dist/kernel/cordis-plugin-logger-console/package.json +40 -0
- package/dist/kernel/cordis-plugin-timer/lib/index.js +152 -0
- package/dist/kernel/cordis-plugin-timer/lib/types/index.d.ts +30 -0
- package/dist/kernel/cordis-plugin-timer/lib/types/index.js +134 -0
- package/dist/kernel/cordis-plugin-timer/package.json +36 -0
- package/dist/kernel/cosmokit/lib/index.js +325 -0
- package/dist/kernel/cosmokit/lib/types/array.d.ts +15 -0
- package/dist/kernel/cosmokit/lib/types/array.js +37 -0
- package/dist/kernel/cosmokit/lib/types/index.d.ts +11 -0
- package/dist/kernel/cosmokit/lib/types/index.js +11 -0
- package/dist/kernel/cosmokit/lib/types/misc.d.ts +41 -0
- package/dist/kernel/cosmokit/lib/types/misc.js +50 -0
- package/dist/kernel/cosmokit/lib/types/string.d.ts +89 -0
- package/dist/kernel/cosmokit/lib/types/string.js +79 -0
- package/dist/kernel/cosmokit/lib/types/time.d.ts +19 -0
- package/dist/kernel/cosmokit/lib/types/time.js +101 -0
- package/dist/kernel/cosmokit/lib/types/types.d.ts +34 -0
- package/dist/kernel/cosmokit/lib/types/types.js +141 -0
- package/dist/kernel/cosmokit/package.json +30 -0
- package/dist/kernel/credentials/lib/index.js +1 -1
- package/dist/kernel/credentials/lib/types/index.d.ts +1 -1
- package/dist/kernel/credentials/lib/types/index.js +1 -1
- package/dist/kernel/credentials/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/credentials/package.json +1 -1
- package/dist/kernel/credentials-local/lib/index.js +2 -2
- package/dist/kernel/credentials-local/lib/types/index.d.ts +2 -2
- package/dist/kernel/credentials-local/lib/types/index.js +2 -2
- package/dist/kernel/credentials-local/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/credentials-local/package.json +1 -1
- package/dist/kernel/e2b/lib/index.js +2 -2
- package/dist/kernel/e2b/lib/types/index.d.ts +2 -2
- package/dist/kernel/e2b/lib/types/index.js +2 -2
- package/dist/kernel/e2b/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/e2b/package.json +1 -1
- package/dist/kernel/fs/lib/index.js +1 -1
- package/dist/kernel/fs/lib/types/index.d.ts +1 -1
- package/dist/kernel/fs/lib/types/index.js +1 -1
- package/dist/kernel/fs/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/fs/package.json +1 -1
- package/dist/kernel/fs-e2b/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/fs-e2b/package.json +1 -1
- package/dist/kernel/fs-local/lib/index.js +1 -1
- package/dist/kernel/fs-local/lib/types/index.d.ts +2 -2
- package/dist/kernel/fs-local/lib/types/index.js +1 -1
- package/dist/kernel/fs-local/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/fs-local/package.json +1 -1
- package/dist/kernel/fs-observation-policy/lib/types/index.d.ts +1 -1
- package/dist/kernel/fs-observation-policy/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/fs-observation-policy/package.json +1 -1
- package/dist/kernel/fs-sandbox/lib/types/index.d.ts +1 -1
- package/dist/kernel/fs-sandbox/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/fs-sandbox/package.json +1 -1
- package/dist/kernel/goal/lib/index.js +1 -1
- package/dist/kernel/goal/lib/types/index.d.ts +2 -2
- package/dist/kernel/goal/lib/types/index.js +1 -1
- package/dist/kernel/goal/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/goal/package.json +1 -1
- package/dist/kernel/goal-round-driver/lib/types/index.d.ts +1 -1
- package/dist/kernel/goal-round-driver/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/goal-round-driver/package.json +1 -1
- package/dist/kernel/headless/lib/index.js +1 -1
- package/dist/kernel/headless/lib/types/index.d.ts +2 -2
- package/dist/kernel/headless/lib/types/index.js +1 -1
- package/dist/kernel/headless/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/headless/lib/types/startup.d.ts +1 -1
- package/dist/kernel/headless/package.json +1 -1
- package/dist/kernel/home-paths/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/home-paths/package.json +1 -1
- package/dist/kernel/hook-protocol/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/hook-protocol/package.json +1 -1
- package/dist/kernel/hooks-claude-code/lib/index.js +1 -1
- package/dist/kernel/hooks-claude-code/lib/types/index.d.ts +2 -2
- package/dist/kernel/hooks-claude-code/lib/types/index.js +1 -1
- package/dist/kernel/hooks-claude-code/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/hooks-claude-code/package.json +1 -1
- package/dist/kernel/hooks-codex/lib/index.js +1 -1
- package/dist/kernel/hooks-codex/lib/types/index.d.ts +2 -2
- package/dist/kernel/hooks-codex/lib/types/index.js +1 -1
- package/dist/kernel/hooks-codex/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/hooks-codex/package.json +1 -1
- package/dist/kernel/host-apiproxy/lib/index.js +2 -2
- package/dist/kernel/host-apiproxy/lib/types/api-proxy.d.ts +1 -1
- package/dist/kernel/host-apiproxy/lib/types/index.d.ts +2 -2
- package/dist/kernel/host-apiproxy/lib/types/index.js +2 -2
- package/dist/kernel/host-apiproxy/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/host-apiproxy/lib/types/session-export.d.ts +1 -1
- package/dist/kernel/host-apiproxy/package.json +1 -1
- package/dist/kernel/host-directory-picker/lib/index.js +1 -1
- package/dist/kernel/host-directory-picker/lib/types/index.d.ts +1 -1
- package/dist/kernel/host-directory-picker/lib/types/index.js +1 -1
- package/dist/kernel/host-directory-picker/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/host-directory-picker/package.json +1 -1
- package/dist/kernel/host-directory-picker-auto/lib/types/index.d.ts +1 -1
- package/dist/kernel/host-directory-picker-auto/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/host-directory-picker-auto/package.json +1 -1
- package/dist/kernel/host-directory-picker-browse/lib/index.js +1 -1
- package/dist/kernel/host-directory-picker-browse/lib/types/index.d.ts +2 -2
- package/dist/kernel/host-directory-picker-browse/lib/types/index.js +1 -1
- package/dist/kernel/host-directory-picker-browse/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/host-directory-picker-browse/package.json +1 -1
- package/dist/kernel/host-directory-picker-native/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/host-directory-picker-native/package.json +1 -1
- package/dist/kernel/host-frontend-static/lib/index.js +1 -1
- package/dist/kernel/host-frontend-static/lib/types/index.d.ts +2 -2
- package/dist/kernel/host-frontend-static/lib/types/index.js +1 -1
- package/dist/kernel/host-frontend-static/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/host-frontend-static/package.json +1 -1
- package/dist/kernel/host-plugin-inventory/lib/types/index.d.ts +1 -1
- package/dist/kernel/host-plugin-inventory/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/host-plugin-inventory/package.json +1 -1
- package/dist/kernel/host-webserver/lib/index.js +2 -2
- package/dist/kernel/host-webserver/lib/types/index.d.ts +2 -2
- package/dist/kernel/host-webserver/lib/types/index.js +2 -2
- package/dist/kernel/host-webserver/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/host-webserver/package.json +1 -1
- package/dist/kernel/invariants/lib/index.js +2 -2
- package/dist/kernel/invariants/lib/types/index.d.ts +3 -3
- package/dist/kernel/invariants/lib/types/index.js +2 -2
- package/dist/kernel/invariants/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/invariants/package.json +1 -1
- package/dist/kernel/jobs/lib/index.js +1 -1
- package/dist/kernel/jobs/lib/types/index.d.ts +1 -1
- package/dist/kernel/jobs/lib/types/index.js +1 -1
- package/dist/kernel/jobs/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/jobs/package.json +1 -1
- package/dist/kernel/jobs-local/lib/index.js +1 -1
- package/dist/kernel/jobs-local/lib/types/index.d.ts +2 -2
- package/dist/kernel/jobs-local/lib/types/index.js +1 -1
- package/dist/kernel/jobs-local/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/jobs-local/package.json +1 -1
- package/dist/kernel/launch-environment/lib/types/index.d.ts +1 -1
- package/dist/kernel/launch-environment/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/launch-environment/package.json +1 -1
- package/dist/kernel/llm/lib/index.js +2 -2
- package/dist/kernel/llm/lib/types/index.d.ts +1 -1
- package/dist/kernel/llm/lib/types/index.js +1 -1
- package/dist/kernel/llm/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/llm/lib/types/retry-policy.d.ts +1 -1
- package/dist/kernel/llm/lib/types/retry-policy.js +1 -1
- package/dist/kernel/llm/package.json +1 -1
- package/dist/kernel/llm-deepseek/lib/index.js +1 -1
- package/dist/kernel/llm-deepseek/lib/types/index.d.ts +2 -2
- package/dist/kernel/llm-deepseek/lib/types/index.js +1 -1
- package/dist/kernel/llm-deepseek/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/llm-deepseek/package.json +1 -1
- package/dist/kernel/llm-pi-ai/lib/index.js +1 -1
- package/dist/kernel/llm-pi-ai/lib/types/config.d.ts +1 -1
- package/dist/kernel/llm-pi-ai/lib/types/config.js +1 -1
- package/dist/kernel/llm-pi-ai/lib/types/index.d.ts +1 -1
- package/dist/kernel/llm-pi-ai/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/llm-pi-ai/package.json +1 -1
- package/dist/kernel/llm-retry/lib/index.js +1 -1
- package/dist/kernel/llm-retry/lib/types/index.d.ts +2 -2
- package/dist/kernel/llm-retry/lib/types/index.js +1 -1
- package/dist/kernel/llm-retry/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/llm-retry/package.json +1 -1
- package/dist/kernel/lsp/lib/index.js +1 -1
- package/dist/kernel/lsp/lib/types/index.d.ts +1 -1
- package/dist/kernel/lsp/lib/types/index.js +1 -1
- package/dist/kernel/lsp/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/lsp/package.json +1 -1
- package/dist/kernel/lsp-stdio/lib/index.js +1 -1
- package/dist/kernel/lsp-stdio/lib/types/index.d.ts +2 -2
- package/dist/kernel/lsp-stdio/lib/types/index.js +1 -1
- package/dist/kernel/lsp-stdio/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/lsp-stdio/package.json +1 -1
- package/dist/kernel/manifest.json +11 -1
- package/dist/kernel/mcp-client/lib/index.js +1 -1
- package/dist/kernel/mcp-client/lib/types/connection.d.ts +1 -1
- package/dist/kernel/mcp-client/lib/types/index.d.ts +2 -2
- package/dist/kernel/mcp-client/lib/types/index.js +1 -1
- package/dist/kernel/mcp-client/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/mcp-client/lib/types/tools.d.ts +1 -1
- package/dist/kernel/mcp-client/package.json +1 -1
- package/dist/kernel/message-feedback/lib/index.js +2 -2
- package/dist/kernel/message-feedback/lib/types/index.d.ts +2 -2
- package/dist/kernel/message-feedback/lib/types/index.js +2 -2
- package/dist/kernel/message-feedback/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/message-feedback/package.json +1 -1
- package/dist/kernel/native-command/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/native-command/package.json +1 -1
- package/dist/kernel/node-addon-landlock-run/lib/index.d.ts +71 -0
- package/dist/kernel/node-addon-landlock-run/lib/index.js +101 -0
- package/dist/kernel/node-addon-landlock-run/package.json +39 -0
- package/dist/kernel/output-retention/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/output-retention/package.json +1 -1
- package/dist/kernel/permission-presets/lib/index.js +2 -2
- package/dist/kernel/permission-presets/lib/types/index.d.ts +2 -2
- package/dist/kernel/permission-presets/lib/types/index.js +2 -2
- package/dist/kernel/permission-presets/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/permission-presets/package.json +1 -1
- package/dist/kernel/persona/lib/index.js +1 -1
- package/dist/kernel/persona/lib/types/index.d.ts +2 -2
- package/dist/kernel/persona/lib/types/index.js +1 -1
- package/dist/kernel/persona/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/persona/package.json +1 -1
- package/dist/kernel/plan-mode/lib/index.js +1 -1
- package/dist/kernel/plan-mode/lib/types/index.d.ts +1 -1
- package/dist/kernel/plan-mode/lib/types/index.js +1 -1
- package/dist/kernel/plan-mode/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/plan-mode/package.json +1 -1
- package/dist/kernel/pwsh-local/lib/index.js +1 -1
- package/dist/kernel/pwsh-local/lib/types/index.d.ts +2 -2
- package/dist/kernel/pwsh-local/lib/types/index.js +1 -1
- package/dist/kernel/pwsh-local/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/pwsh-local/package.json +1 -1
- package/dist/kernel/pwsh-sandbox/lib/types/index.d.ts +1 -1
- package/dist/kernel/pwsh-sandbox/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/pwsh-sandbox/package.json +1 -1
- package/dist/kernel/repeat-tool-reminder/lib/index.js +2 -2
- package/dist/kernel/repeat-tool-reminder/lib/types/index.d.ts +2 -2
- package/dist/kernel/repeat-tool-reminder/lib/types/index.js +1 -1
- package/dist/kernel/repeat-tool-reminder/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/repeat-tool-reminder/package.json +1 -1
- package/dist/kernel/sandbox/lib/index.js +1 -1
- package/dist/kernel/sandbox/lib/types/index.d.ts +1 -1
- package/dist/kernel/sandbox/lib/types/index.js +1 -1
- package/dist/kernel/sandbox/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/sandbox/package.json +1 -1
- package/dist/kernel/sandbox-local/lib/index.js +7 -5
- package/dist/kernel/sandbox-local/lib/types/index.d.ts +5 -3
- package/dist/kernel/sandbox-local/lib/types/index.js +8 -5
- package/dist/kernel/sandbox-local/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/sandbox-local/lib/types/profiles.js +1 -1
- package/dist/kernel/sandbox-local/package.json +1 -1
- package/dist/kernel/sandbox-policy/lib/index.js +2 -2
- package/dist/kernel/sandbox-policy/lib/types/index.d.ts +2 -2
- package/dist/kernel/sandbox-policy/lib/types/index.js +2 -2
- package/dist/kernel/sandbox-policy/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/sandbox-policy/package.json +1 -1
- package/dist/kernel/sandbox-windows-acl/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/sandbox-windows-acl/package.json +1 -1
- package/dist/kernel/schedule/lib/types/index.d.ts +1 -1
- package/dist/kernel/schedule/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/schedule/lib/types/persistence.d.ts +1 -1
- package/dist/kernel/schedule/lib/types/runtime.d.ts +1 -1
- package/dist/kernel/schedule/lib/types/tools.d.ts +1 -1
- package/dist/kernel/schedule/package.json +1 -1
- package/dist/kernel/schemastery/lib/index.cjs +596 -0
- package/dist/kernel/schemastery/lib/index.mjs +596 -0
- package/dist/kernel/schemastery/lib/types/index.d.ts +200 -0
- package/dist/kernel/schemastery/lib/types/index.js +714 -0
- package/dist/kernel/schemastery/package.json +37 -0
- package/dist/kernel/scope/lib/index.js +1 -1
- package/dist/kernel/scope/lib/types/index.d.ts +1 -1
- package/dist/kernel/scope/lib/types/index.js +1 -1
- package/dist/kernel/scope/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/scope/lib/types/store.d.ts +1 -1
- package/dist/kernel/scope/package.json +1 -1
- package/dist/kernel/sdk-client/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/sdk-client/package.json +1 -1
- package/dist/kernel/sdk-jsonrpc-server/lib/index.js +1 -1
- package/dist/kernel/sdk-jsonrpc-server/lib/types/index.d.ts +2 -2
- package/dist/kernel/sdk-jsonrpc-server/lib/types/index.js +1 -1
- package/dist/kernel/sdk-jsonrpc-server/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/sdk-jsonrpc-server/lib/types/server.d.ts +1 -1
- package/dist/kernel/sdk-jsonrpc-server/package.json +1 -1
- package/dist/kernel/sdk-protocol/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/sdk-protocol/package.json +1 -1
- package/dist/kernel/session/lib/index.js +1 -1
- package/dist/kernel/session/lib/types/index.d.ts +1 -1
- package/dist/kernel/session/lib/types/index.js +1 -1
- package/dist/kernel/session/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session/package.json +1 -1
- package/dist/kernel/session-checkpoint-policy/lib/types/index.d.ts +1 -1
- package/dist/kernel/session-checkpoint-policy/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-checkpoint-policy/package.json +1 -1
- package/dist/kernel/session-log-export/lib/types/index.d.ts +1 -1
- package/dist/kernel/session-log-export/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-log-export/package.json +1 -1
- package/dist/kernel/session-persistence/lib/index.js +1 -1
- package/dist/kernel/session-persistence/lib/types/coordinator.d.ts +1 -1
- package/dist/kernel/session-persistence/lib/types/index.d.ts +1 -1
- package/dist/kernel/session-persistence/lib/types/index.js +1 -1
- package/dist/kernel/session-persistence/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-persistence/package.json +1 -1
- package/dist/kernel/session-persistence-jsonl/lib/index.js +1 -1
- package/dist/kernel/session-persistence-jsonl/lib/types/index.d.ts +2 -2
- package/dist/kernel/session-persistence-jsonl/lib/types/index.js +1 -1
- package/dist/kernel/session-persistence-jsonl/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-persistence-jsonl/package.json +1 -1
- package/dist/kernel/session-persistence-sqlite/lib/index.js +1 -1
- package/dist/kernel/session-persistence-sqlite/lib/types/index.d.ts +2 -2
- package/dist/kernel/session-persistence-sqlite/lib/types/index.js +1 -1
- package/dist/kernel/session-persistence-sqlite/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-persistence-sqlite/package.json +1 -1
- package/dist/kernel/session-projection/lib/index.js +1 -1
- package/dist/kernel/session-projection/lib/types/index.d.ts +1 -1
- package/dist/kernel/session-projection/lib/types/index.js +1 -1
- package/dist/kernel/session-projection/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-projection/package.json +1 -1
- package/dist/kernel/session-projection-cache/lib/index.js +2 -2
- package/dist/kernel/session-projection-cache/lib/types/index.d.ts +2 -2
- package/dist/kernel/session-projection-cache/lib/types/index.js +2 -2
- package/dist/kernel/session-projection-cache/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-projection-cache/package.json +1 -1
- package/dist/kernel/session-query/lib/index.js +1 -1
- package/dist/kernel/session-query/lib/types/corpus.d.ts +1 -1
- package/dist/kernel/session-query/lib/types/index.d.ts +1 -1
- package/dist/kernel/session-query/lib/types/index.js +1 -1
- package/dist/kernel/session-query/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-query/package.json +1 -1
- package/dist/kernel/session-query-sqlite/lib/index.js +2 -2
- package/dist/kernel/session-query-sqlite/lib/types/index.d.ts +2 -2
- package/dist/kernel/session-query-sqlite/lib/types/index.js +2 -2
- package/dist/kernel/session-query-sqlite/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-query-sqlite/package.json +1 -1
- package/dist/kernel/session-reference/lib/index.js +2 -2
- package/dist/kernel/session-reference/lib/types/index.d.ts +2 -2
- package/dist/kernel/session-reference/lib/types/index.js +2 -2
- package/dist/kernel/session-reference/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-reference/package.json +1 -1
- package/dist/kernel/session-stats/lib/types/index.d.ts +1 -1
- package/dist/kernel/session-stats/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-stats/package.json +1 -1
- package/dist/kernel/session-telemetry/lib/index.js +1 -1
- package/dist/kernel/session-telemetry/lib/types/coordinator.d.ts +1 -1
- package/dist/kernel/session-telemetry/lib/types/index.d.ts +1 -1
- package/dist/kernel/session-telemetry/lib/types/index.js +1 -1
- package/dist/kernel/session-telemetry/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-telemetry/package.json +1 -1
- package/dist/kernel/session-telemetry-otel/lib/index.js +1 -1
- package/dist/kernel/session-telemetry-otel/lib/types/index.d.ts +2 -2
- package/dist/kernel/session-telemetry-otel/lib/types/index.js +1 -1
- package/dist/kernel/session-telemetry-otel/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-telemetry-otel/package.json +1 -1
- package/dist/kernel/session-title/lib/index.js +2 -2
- package/dist/kernel/session-title/lib/types/index.d.ts +2 -2
- package/dist/kernel/session-title/lib/types/index.js +2 -2
- package/dist/kernel/session-title/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-title/package.json +1 -1
- package/dist/kernel/session-title-all-prompts-llm/lib/index.js +1 -1
- package/dist/kernel/session-title-all-prompts-llm/lib/types/index.d.ts +2 -2
- package/dist/kernel/session-title-all-prompts-llm/lib/types/index.js +1 -1
- package/dist/kernel/session-title-all-prompts-llm/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-title-all-prompts-llm/package.json +1 -1
- package/dist/kernel/session-title-first-prompt-llm/lib/index.js +1 -1
- package/dist/kernel/session-title-first-prompt-llm/lib/types/index.d.ts +2 -2
- package/dist/kernel/session-title-first-prompt-llm/lib/types/index.js +1 -1
- package/dist/kernel/session-title-first-prompt-llm/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-title-first-prompt-llm/package.json +1 -1
- package/dist/kernel/session-title-llm/lib/index.js +1 -1
- package/dist/kernel/session-title-llm/lib/types/index.d.ts +2 -2
- package/dist/kernel/session-title-llm/lib/types/index.js +1 -1
- package/dist/kernel/session-title-llm/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/session-title-llm/package.json +1 -1
- package/dist/kernel/settings/lib/index.js +1 -1
- package/dist/kernel/settings/lib/invariant.js +1 -1
- package/dist/kernel/settings/lib/types/index.d.ts +2 -2
- package/dist/kernel/settings/lib/types/index.js +1 -1
- package/dist/kernel/settings/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/settings/lib/types/redact.d.ts +1 -1
- package/dist/kernel/settings/package.json +1 -1
- package/dist/kernel/settings-file/lib/index.js +2 -2
- package/dist/kernel/settings-file/lib/types/index.d.ts +2 -2
- package/dist/kernel/settings-file/lib/types/index.js +2 -2
- package/dist/kernel/settings-file/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/settings-file/package.json +1 -1
- package/dist/kernel/shell/lib/index.js +1 -1
- package/dist/kernel/shell/lib/types/index.d.ts +1 -1
- package/dist/kernel/shell/lib/types/index.js +1 -1
- package/dist/kernel/shell/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/shell/package.json +1 -1
- package/dist/kernel/shell-env/lib/index.js +2 -2
- package/dist/kernel/shell-env/lib/types/index.d.ts +2 -2
- package/dist/kernel/shell-env/lib/types/index.js +2 -2
- package/dist/kernel/shell-env/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/shell-env/package.json +1 -1
- package/dist/kernel/skill/lib/index.js +2 -2
- package/dist/kernel/skill/lib/types/index.d.ts +2 -2
- package/dist/kernel/skill/lib/types/index.js +2 -2
- package/dist/kernel/skill/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/skill/package.json +1 -1
- package/dist/kernel/skill-badge/lib/types/index.d.ts +1 -1
- package/dist/kernel/skill-badge/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/skill-badge/package.json +1 -1
- package/dist/kernel/skill-filesystem/lib/index.js +1 -1
- package/dist/kernel/skill-filesystem/lib/types/index.d.ts +2 -2
- package/dist/kernel/skill-filesystem/lib/types/index.js +1 -1
- package/dist/kernel/skill-filesystem/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/skill-filesystem/package.json +1 -1
- package/dist/kernel/spill/lib/index.js +1 -1
- package/dist/kernel/spill/lib/types/index.d.ts +1 -1
- package/dist/kernel/spill/lib/types/index.js +1 -1
- package/dist/kernel/spill/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/spill/package.json +1 -1
- package/dist/kernel/spill-local/lib/index.js +1 -1
- package/dist/kernel/spill-local/lib/types/index.d.ts +2 -2
- package/dist/kernel/spill-local/lib/types/index.js +1 -1
- package/dist/kernel/spill-local/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/spill-local/package.json +1 -1
- package/dist/kernel/spill-policy/lib/index.js +1 -1
- package/dist/kernel/spill-policy/lib/types/index.d.ts +2 -2
- package/dist/kernel/spill-policy/lib/types/index.js +1 -1
- package/dist/kernel/spill-policy/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/spill-policy/package.json +1 -1
- package/dist/kernel/storage/lib/index.js +1 -1
- package/dist/kernel/storage/lib/types/index.d.ts +1 -1
- package/dist/kernel/storage/lib/types/index.js +1 -1
- package/dist/kernel/storage/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/storage/package.json +1 -1
- package/dist/kernel/storage-domain/lib/index.js +1 -1
- package/dist/kernel/storage-domain/lib/types/domain.d.ts +1 -1
- package/dist/kernel/storage-domain/lib/types/index.d.ts +2 -2
- package/dist/kernel/storage-domain/lib/types/index.js +1 -1
- package/dist/kernel/storage-domain/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/storage-domain/package.json +1 -1
- package/dist/kernel/storage-json/lib/index.js +1 -1
- package/dist/kernel/storage-json/lib/types/index.d.ts +2 -2
- package/dist/kernel/storage-json/lib/types/index.js +1 -1
- package/dist/kernel/storage-json/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/storage-json/package.json +1 -1
- package/dist/kernel/storage-sqlite/lib/index.js +1 -1
- package/dist/kernel/storage-sqlite/lib/types/index.d.ts +2 -2
- package/dist/kernel/storage-sqlite/lib/types/index.js +1 -1
- package/dist/kernel/storage-sqlite/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/storage-sqlite/package.json +1 -1
- package/dist/kernel/subagent/lib/index.js +1 -1
- package/dist/kernel/subagent/lib/types/activation-setup-registry.d.ts +1 -1
- package/dist/kernel/subagent/lib/types/child-agent.d.ts +1 -1
- package/dist/kernel/subagent/lib/types/continuation.d.ts +1 -1
- package/dist/kernel/subagent/lib/types/index.d.ts +1 -1
- package/dist/kernel/subagent/lib/types/index.js +1 -1
- package/dist/kernel/subagent/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subagent/lib/types/lifecycle.d.ts +1 -1
- package/dist/kernel/subagent/lib/types/list-children.d.ts +1 -1
- package/dist/kernel/subagent/package.json +1 -1
- package/dist/kernel/subagent-acp/lib/index.js +1 -1
- package/dist/kernel/subagent-acp/lib/types/index.d.ts +2 -2
- package/dist/kernel/subagent-acp/lib/types/index.js +1 -1
- package/dist/kernel/subagent-acp/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subagent-acp/package.json +1 -1
- package/dist/kernel/subagent-claude-code/lib/index.js +1 -1
- package/dist/kernel/subagent-claude-code/lib/types/index.d.ts +2 -2
- package/dist/kernel/subagent-claude-code/lib/types/index.js +1 -1
- package/dist/kernel/subagent-claude-code/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subagent-claude-code/package.json +1 -1
- package/dist/kernel/subagent-codex/lib/index.js +1 -1
- package/dist/kernel/subagent-codex/lib/types/index.d.ts +2 -2
- package/dist/kernel/subagent-codex/lib/types/index.js +1 -1
- package/dist/kernel/subagent-codex/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subagent-codex/package.json +1 -1
- package/dist/kernel/subagent-fork-in-process/lib/index.js +1 -1
- package/dist/kernel/subagent-fork-in-process/lib/types/index.d.ts +2 -2
- package/dist/kernel/subagent-fork-in-process/lib/types/index.js +1 -1
- package/dist/kernel/subagent-fork-in-process/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subagent-fork-in-process/package.json +1 -1
- package/dist/kernel/subagent-in-process-driver/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subagent-in-process-driver/lib/types/structured.d.ts +1 -1
- package/dist/kernel/subagent-in-process-driver/package.json +1 -1
- package/dist/kernel/subagent-nomix-sdk/lib/index.js +1 -1
- package/dist/kernel/subagent-nomix-sdk/lib/types/index.d.ts +2 -2
- package/dist/kernel/subagent-nomix-sdk/lib/types/index.js +1 -1
- package/dist/kernel/subagent-nomix-sdk/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subagent-nomix-sdk/package.json +1 -1
- package/dist/kernel/subagent-spawn-in-process/lib/index.js +1 -1
- package/dist/kernel/subagent-spawn-in-process/lib/types/index.d.ts +2 -2
- package/dist/kernel/subagent-spawn-in-process/lib/types/index.js +1 -1
- package/dist/kernel/subagent-spawn-in-process/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subagent-spawn-in-process/package.json +1 -1
- package/dist/kernel/subprocess/lib/index.js +1 -1
- package/dist/kernel/subprocess/lib/types/index.d.ts +1 -1
- package/dist/kernel/subprocess/lib/types/index.js +1 -1
- package/dist/kernel/subprocess/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subprocess/package.json +1 -1
- package/dist/kernel/subprocess-e2b/lib/index.js +1 -1
- package/dist/kernel/subprocess-e2b/lib/types/index.d.ts +2 -2
- package/dist/kernel/subprocess-e2b/lib/types/index.js +1 -1
- package/dist/kernel/subprocess-e2b/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subprocess-e2b/package.json +1 -1
- package/dist/kernel/subprocess-local/lib/types/index.d.ts +1 -1
- package/dist/kernel/subprocess-local/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/subprocess-local/package.json +1 -1
- package/dist/kernel/system-prompt/lib/index.js +2 -2
- package/dist/kernel/system-prompt/lib/types/index.d.ts +2 -2
- package/dist/kernel/system-prompt/lib/types/index.js +2 -2
- package/dist/kernel/system-prompt/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/system-prompt/package.json +1 -1
- package/dist/kernel/terminal/lib/index.js +1 -1
- package/dist/kernel/terminal/lib/types/index.d.ts +1 -1
- package/dist/kernel/terminal/lib/types/index.js +1 -1
- package/dist/kernel/terminal/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/terminal/package.json +1 -1
- package/dist/kernel/terminal-bash/lib/index.js +1 -1
- package/dist/kernel/terminal-bash/lib/types/config.d.ts +1 -1
- package/dist/kernel/terminal-bash/lib/types/config.js +1 -1
- package/dist/kernel/terminal-bash/lib/types/index.d.ts +1 -1
- package/dist/kernel/terminal-bash/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/terminal-bash/package.json +1 -1
- package/dist/kernel/time-context/lib/index.js +2 -2
- package/dist/kernel/time-context/lib/invariant.js +2 -2
- package/dist/kernel/time-context/lib/types/index.d.ts +2 -2
- package/dist/kernel/time-context/lib/types/index.js +1 -1
- package/dist/kernel/time-context/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/time-context/package.json +1 -1
- package/dist/kernel/timeout/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/timeout/package.json +1 -1
- package/dist/kernel/tmux-context/lib/index.js +2 -2
- package/dist/kernel/tmux-context/lib/types/index.d.ts +2 -2
- package/dist/kernel/tmux-context/lib/types/index.js +1 -1
- package/dist/kernel/tmux-context/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tmux-context/package.json +1 -1
- package/dist/kernel/token-meter/lib/index.js +2 -2
- package/dist/kernel/token-meter/lib/types/index.d.ts +2 -2
- package/dist/kernel/token-meter/lib/types/index.js +2 -2
- package/dist/kernel/token-meter/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/token-meter/package.json +1 -1
- package/dist/kernel/tool-ask-user/lib/types/index.d.ts +1 -1
- package/dist/kernel/tool-ask-user/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-ask-user/package.json +1 -1
- package/dist/kernel/tool-bash/lib/index.js +1 -1
- package/dist/kernel/tool-bash/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-bash/lib/types/index.js +1 -1
- package/dist/kernel/tool-bash/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-bash/package.json +1 -1
- package/dist/kernel/tool-bash-persistent/lib/index.js +1 -1
- package/dist/kernel/tool-bash-persistent/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-bash-persistent/lib/types/index.js +1 -1
- package/dist/kernel/tool-bash-persistent/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-bash-persistent/package.json +1 -1
- package/dist/kernel/tool-call-timeout-policy/lib/types/index.d.ts +1 -1
- package/dist/kernel/tool-call-timeout-policy/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-call-timeout-policy/package.json +1 -1
- package/dist/kernel/tool-cordis/lib/types/fiber-state.d.ts +1 -1
- package/dist/kernel/tool-cordis/lib/types/index.d.ts +1 -1
- package/dist/kernel/tool-cordis/lib/types/inspect.d.ts +1 -1
- package/dist/kernel/tool-cordis/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-cordis/lib/types/providers.d.ts +1 -1
- package/dist/kernel/tool-cordis/package.json +1 -1
- package/dist/kernel/tool-fs/lib/index.js +1 -1
- package/dist/kernel/tool-fs/lib/types/edit.d.ts +1 -1
- package/dist/kernel/tool-fs/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-fs/lib/types/index.js +1 -1
- package/dist/kernel/tool-fs/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-fs/lib/types/read-image.d.ts +1 -1
- package/dist/kernel/tool-fs/lib/types/read-target.d.ts +1 -1
- package/dist/kernel/tool-fs/lib/types/read.d.ts +1 -1
- package/dist/kernel/tool-fs/lib/types/sandbox.d.ts +1 -1
- package/dist/kernel/tool-fs/lib/types/write.d.ts +1 -1
- package/dist/kernel/tool-fs/package.json +1 -1
- package/dist/kernel/tool-fs-search/lib/index.js +1 -1
- package/dist/kernel/tool-fs-search/lib/types/direct-call.d.ts +1 -1
- package/dist/kernel/tool-fs-search/lib/types/glob.d.ts +1 -1
- package/dist/kernel/tool-fs-search/lib/types/grep.d.ts +1 -1
- package/dist/kernel/tool-fs-search/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-fs-search/lib/types/index.js +1 -1
- package/dist/kernel/tool-fs-search/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-fs-search/lib/types/search-core.d.ts +1 -1
- package/dist/kernel/tool-fs-search/package.json +1 -1
- package/dist/kernel/tool-goal/lib/index.js +1 -1
- package/dist/kernel/tool-goal/lib/types/authority.d.ts +1 -1
- package/dist/kernel/tool-goal/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-goal/lib/types/index.js +1 -1
- package/dist/kernel/tool-goal/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-goal/package.json +1 -1
- package/dist/kernel/tool-jobs/lib/index.js +1 -1
- package/dist/kernel/tool-jobs/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-jobs/lib/types/index.js +1 -1
- package/dist/kernel/tool-jobs/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-jobs/package.json +1 -1
- package/dist/kernel/tool-lsp/lib/index.js +1 -1
- package/dist/kernel/tool-lsp/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-lsp/lib/types/index.js +1 -1
- package/dist/kernel/tool-lsp/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-lsp/package.json +1 -1
- package/dist/kernel/tool-pwsh/lib/index.js +1 -1
- package/dist/kernel/tool-pwsh/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-pwsh/lib/types/index.js +1 -1
- package/dist/kernel/tool-pwsh/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-pwsh/package.json +1 -1
- package/dist/kernel/tool-ralph/lib/index.js +1 -1
- package/dist/kernel/tool-ralph/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-ralph/lib/types/index.js +1 -1
- package/dist/kernel/tool-ralph/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-ralph/package.json +1 -1
- package/dist/kernel/tool-session-query/lib/index.js +1 -1
- package/dist/kernel/tool-session-query/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-session-query/lib/types/index.js +1 -1
- package/dist/kernel/tool-session-query/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-session-query/lib/types/operations.d.ts +1 -1
- package/dist/kernel/tool-session-query/lib/types/service-boundary.d.ts +1 -1
- package/dist/kernel/tool-session-query/lib/types/workspace-access.d.ts +1 -1
- package/dist/kernel/tool-session-query/package.json +1 -1
- package/dist/kernel/tool-skill/lib/index.js +1 -1
- package/dist/kernel/tool-skill/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-skill/lib/types/index.js +1 -1
- package/dist/kernel/tool-skill/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-skill/package.json +1 -1
- package/dist/kernel/tool-str-replace-editor/lib/index.js +1 -1
- package/dist/kernel/tool-str-replace-editor/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-str-replace-editor/lib/types/index.js +1 -1
- package/dist/kernel/tool-str-replace-editor/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-str-replace-editor/package.json +1 -1
- package/dist/kernel/tool-subagent/lib/index.js +1 -1
- package/dist/kernel/tool-subagent/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-subagent/lib/types/index.js +1 -1
- package/dist/kernel/tool-subagent/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-subagent/package.json +1 -1
- package/dist/kernel/tool-subagent-control/lib/types/index.d.ts +1 -1
- package/dist/kernel/tool-subagent-control/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-subagent-control/lib/types/list-agents.d.ts +1 -1
- package/dist/kernel/tool-subagent-control/package.json +1 -1
- package/dist/kernel/tool-subagent-report/lib/index.js +1 -1
- package/dist/kernel/tool-subagent-report/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-subagent-report/lib/types/index.js +1 -1
- package/dist/kernel/tool-subagent-report/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-subagent-report/package.json +1 -1
- package/dist/kernel/tool-terminal/lib/index.js +1 -1
- package/dist/kernel/tool-terminal/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-terminal/lib/types/index.js +1 -1
- package/dist/kernel/tool-terminal/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-terminal/package.json +1 -1
- package/dist/kernel/tool-todo/lib/index.js +1 -1
- package/dist/kernel/tool-todo/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-todo/lib/types/index.js +1 -1
- package/dist/kernel/tool-todo/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-todo/package.json +1 -1
- package/dist/kernel/tool-web/lib/index.js +1 -1
- package/dist/kernel/tool-web/lib/types/fetch.d.ts +1 -1
- package/dist/kernel/tool-web/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-web/lib/types/index.js +1 -1
- package/dist/kernel/tool-web/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-web/lib/types/search.d.ts +1 -1
- package/dist/kernel/tool-web/package.json +1 -1
- package/dist/kernel/tool-workflow/lib/index.js +1 -1
- package/dist/kernel/tool-workflow/lib/types/index.d.ts +2 -2
- package/dist/kernel/tool-workflow/lib/types/index.js +1 -1
- package/dist/kernel/tool-workflow/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tool-workflow/package.json +1 -1
- package/dist/kernel/tools/lib/index.js +2 -2
- package/dist/kernel/tools/lib/types/index.d.ts +2 -2
- package/dist/kernel/tools/lib/types/index.js +2 -2
- package/dist/kernel/tools/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/tools/package.json +1 -1
- package/dist/kernel/typert-generator/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/typert-generator/package.json +1 -1
- package/dist/kernel/typert-loader/lib/index.js +1 -1
- package/dist/kernel/typert-loader/lib/types/index.d.ts +2 -2
- package/dist/kernel/typert-loader/lib/types/index.js +1 -1
- package/dist/kernel/typert-loader/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/typert-loader/package.json +1 -1
- package/dist/kernel/typert-protocol/lib/index.js +1 -1
- package/dist/kernel/typert-protocol/lib/types/index.d.ts +1 -1
- package/dist/kernel/typert-protocol/lib/types/index.js +1 -1
- package/dist/kernel/typert-protocol/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/typert-protocol/lib/types/types.d.ts +1 -1
- package/dist/kernel/typert-protocol/package.json +1 -1
- package/dist/kernel/typert-registry/lib/index.js +1 -1
- package/dist/kernel/typert-registry/lib/types/client/index.d.ts +1 -1
- package/dist/kernel/typert-registry/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/typert-registry/lib/types/service.d.ts +1 -1
- package/dist/kernel/typert-registry/lib/types/service.js +1 -1
- package/dist/kernel/typert-registry/package.json +1 -1
- package/dist/kernel/user-approval/lib/index.js +2 -2
- package/dist/kernel/user-approval/lib/invariant.js +2 -2
- package/dist/kernel/user-approval/lib/types/index.d.ts +2 -2
- package/dist/kernel/user-approval/lib/types/index.js +2 -2
- package/dist/kernel/user-approval/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/user-approval/package.json +1 -1
- package/dist/kernel/user-questions/lib/index.js +1 -1
- package/dist/kernel/user-questions/lib/types/index.d.ts +1 -1
- package/dist/kernel/user-questions/lib/types/index.js +1 -1
- package/dist/kernel/user-questions/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/user-questions/package.json +1 -1
- package/dist/kernel/web/lib/index.js +2 -2
- package/dist/kernel/web/lib/types/index.d.ts +2 -2
- package/dist/kernel/web/lib/types/index.js +2 -2
- package/dist/kernel/web/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/web/package.json +1 -1
- package/dist/kernel/web-app/lib/index.js +1 -1
- package/dist/kernel/web-app/lib/types/index.d.ts +2 -2
- package/dist/kernel/web-app/lib/types/index.js +1 -1
- package/dist/kernel/web-app/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/web-app/lib/types/startup.d.ts +1 -1
- package/dist/kernel/web-app/package.json +1 -1
- package/dist/kernel/web-fetch-http/lib/index.js +1 -1
- package/dist/kernel/web-fetch-http/lib/types/index.d.ts +2 -2
- package/dist/kernel/web-fetch-http/lib/types/index.js +1 -1
- package/dist/kernel/web-fetch-http/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/web-fetch-http/package.json +1 -1
- package/dist/kernel/web-frontend/package.json +1 -1
- package/dist/kernel/web-search-deepseek/lib/index.js +1 -1
- package/dist/kernel/web-search-deepseek/lib/types/index.d.ts +2 -2
- package/dist/kernel/web-search-deepseek/lib/types/index.js +1 -1
- package/dist/kernel/web-search-deepseek/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/web-search-deepseek/package.json +1 -1
- package/dist/kernel/web-search-exa/lib/index.js +1 -1
- package/dist/kernel/web-search-exa/lib/types/index.d.ts +2 -2
- package/dist/kernel/web-search-exa/lib/types/index.js +1 -1
- package/dist/kernel/web-search-exa/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/web-search-exa/package.json +1 -1
- package/dist/kernel/web-search-perplexity/lib/index.js +1 -1
- package/dist/kernel/web-search-perplexity/lib/types/index.d.ts +2 -2
- package/dist/kernel/web-search-perplexity/lib/types/index.js +1 -1
- package/dist/kernel/web-search-perplexity/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/web-search-perplexity/package.json +1 -1
- package/dist/kernel/workflow/lib/index.js +1 -1
- package/dist/kernel/workflow/lib/types/index.d.ts +1 -1
- package/dist/kernel/workflow/lib/types/index.js +1 -1
- package/dist/kernel/workflow/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/workflow/package.json +1 -1
- package/dist/kernel/workflow-worker-thread/lib/index.js +1 -1
- package/dist/kernel/workflow-worker-thread/lib/types/host.d.ts +1 -1
- package/dist/kernel/workflow-worker-thread/lib/types/index.d.ts +2 -2
- package/dist/kernel/workflow-worker-thread/lib/types/index.js +1 -1
- package/dist/kernel/workflow-worker-thread/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/workflow-worker-thread/package.json +1 -1
- package/dist/kernel/workspace/lib/index.js +1 -1
- package/dist/kernel/workspace/lib/invariant.js +1 -1
- package/dist/kernel/workspace/lib/types/index.d.ts +1 -1
- package/dist/kernel/workspace/lib/types/index.js +1 -1
- package/dist/kernel/workspace/lib/types/invariant.d.ts +1 -1
- package/dist/kernel/workspace/package.json +1 -1
- package/dist/licenses/landlock-run.LICENSE +28 -0
- package/dist/native/landlock-run/linux-arm64/landlock-run +0 -0
- package/dist/native/landlock-run/linux-x64/landlock-run +0 -0
- package/package.json +7 -12
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import { defineProperty } from '../../../cosmokit/lib/index.js';
|
|
2
|
+
/** Ordered collection of disposable values with O(1) deletion by value. */
|
|
3
|
+
export class DisposableList {
|
|
4
|
+
sn = 0;
|
|
5
|
+
map = new Map();
|
|
6
|
+
weak = new WeakMap();
|
|
7
|
+
get length() {
|
|
8
|
+
return this.map.size;
|
|
9
|
+
}
|
|
10
|
+
push(value) {
|
|
11
|
+
const sn = ++this.sn;
|
|
12
|
+
this.map.set(sn, value);
|
|
13
|
+
this.weak.set(value, sn);
|
|
14
|
+
return () => this.map.delete(sn);
|
|
15
|
+
}
|
|
16
|
+
delete(value) {
|
|
17
|
+
const sn = this.weak.get(value);
|
|
18
|
+
if (!sn)
|
|
19
|
+
return false;
|
|
20
|
+
return this.map.delete(sn);
|
|
21
|
+
}
|
|
22
|
+
clear() {
|
|
23
|
+
const values = [...this.map.values()];
|
|
24
|
+
this.map.clear();
|
|
25
|
+
return values.reverse();
|
|
26
|
+
}
|
|
27
|
+
[Symbol.iterator]() {
|
|
28
|
+
return this.map.values();
|
|
29
|
+
}
|
|
30
|
+
[Symbol.for('nodejs.util.inspect.custom')]() {
|
|
31
|
+
return [...this];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
/** Shared symbols used to avoid public property-name collisions. */
|
|
35
|
+
export const symbols = {
|
|
36
|
+
// internal symbols
|
|
37
|
+
shadow: Symbol.for('cordis.shadow'),
|
|
38
|
+
receiver: Symbol.for('cordis.receiver'),
|
|
39
|
+
original: Symbol.for('cordis.original'),
|
|
40
|
+
metadata: Symbol.for('cordis.metadata'),
|
|
41
|
+
initHooks: Symbol.for('cordis.initHooks'),
|
|
42
|
+
checkProto: Symbol.for('cordis.checkProto'),
|
|
43
|
+
// context symbols
|
|
44
|
+
effect: Symbol.for('cordis.effect'),
|
|
45
|
+
filter: Symbol.for('cordis.filter'),
|
|
46
|
+
isolate: Symbol.for('cordis.isolate'),
|
|
47
|
+
intercept: Symbol.for('cordis.intercept'),
|
|
48
|
+
// service symbols
|
|
49
|
+
init: Symbol.for('cordis.init'),
|
|
50
|
+
check: Symbol.for('cordis.check'),
|
|
51
|
+
config: Symbol.for('cordis.config'),
|
|
52
|
+
invoke: Symbol.for('cordis.invoke'),
|
|
53
|
+
extend: Symbol.for('cordis.extend'),
|
|
54
|
+
tracker: Symbol.for('cordis.tracker'),
|
|
55
|
+
resolveConfig: Symbol.for('cordis.resolveConfig'),
|
|
56
|
+
};
|
|
57
|
+
const GeneratorFunction = function* () { }.constructor;
|
|
58
|
+
const AsyncGeneratorFunction = async function* () { }.constructor;
|
|
59
|
+
/** Return true when a plugin callback should be constructed with `new`. */
|
|
60
|
+
export function isConstructor(func) {
|
|
61
|
+
// async function or arrow function
|
|
62
|
+
if (!func.prototype)
|
|
63
|
+
return false;
|
|
64
|
+
// generator function or malformed definition
|
|
65
|
+
// we cannot use below check because `mock.fn()` is proxied
|
|
66
|
+
// if (func.prototype.constructor !== func) return false
|
|
67
|
+
if (func instanceof GeneratorFunction)
|
|
68
|
+
return false;
|
|
69
|
+
// polyfilled AsyncGeneratorFunction === Function
|
|
70
|
+
if (AsyncGeneratorFunction !== Function && func instanceof AsyncGeneratorFunction)
|
|
71
|
+
return false;
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
/** Merge two prototype chains while preserving descriptors from `proto1`. */
|
|
75
|
+
export function joinPrototype(proto1, proto2) {
|
|
76
|
+
if (proto1 === Object.prototype)
|
|
77
|
+
return proto2;
|
|
78
|
+
const result = Object.create(joinPrototype(Object.getPrototypeOf(proto1), proto2));
|
|
79
|
+
for (const key of Reflect.ownKeys(proto1)) {
|
|
80
|
+
Object.defineProperty(result, key, Object.getOwnPropertyDescriptor(proto1, key));
|
|
81
|
+
}
|
|
82
|
+
return result;
|
|
83
|
+
}
|
|
84
|
+
/** Return true for non-null objects and functions. */
|
|
85
|
+
export function isObject(value) {
|
|
86
|
+
return value && (typeof value === 'object' || typeof value === 'function');
|
|
87
|
+
}
|
|
88
|
+
/** Find a property descriptor by walking an object's prototype chain. */
|
|
89
|
+
export function getPropertyDescriptor(target, prop) {
|
|
90
|
+
let proto = target;
|
|
91
|
+
while (proto) {
|
|
92
|
+
const desc = Reflect.getOwnPropertyDescriptor(proto, prop);
|
|
93
|
+
if (desc)
|
|
94
|
+
return desc;
|
|
95
|
+
proto = Object.getPrototypeOf(proto);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
/** Wrap services/functions so method calls see the caller's active context. */
|
|
99
|
+
export function getTraceable(ctx, value) {
|
|
100
|
+
if (!isObject(value))
|
|
101
|
+
return value;
|
|
102
|
+
if (Object.hasOwn(value, symbols.shadow)) {
|
|
103
|
+
return Object.getPrototypeOf(value);
|
|
104
|
+
}
|
|
105
|
+
const tracker = value[symbols.tracker];
|
|
106
|
+
if (!tracker)
|
|
107
|
+
return value;
|
|
108
|
+
return createTraceable(ctx, value, tracker);
|
|
109
|
+
}
|
|
110
|
+
/** Return a proxy that overlays readonly or writable properties onto a target. */
|
|
111
|
+
export function withProps(target, props) {
|
|
112
|
+
if (!props)
|
|
113
|
+
return target;
|
|
114
|
+
return new Proxy(target, {
|
|
115
|
+
get: (target, prop, receiver) => {
|
|
116
|
+
if (prop in props && prop !== 'constructor')
|
|
117
|
+
return Reflect.get(props, prop, receiver);
|
|
118
|
+
return Reflect.get(target, prop, receiver);
|
|
119
|
+
},
|
|
120
|
+
set: (target, prop, value, receiver) => {
|
|
121
|
+
if (prop in props && prop !== 'constructor')
|
|
122
|
+
return Reflect.set(props, prop, value, receiver);
|
|
123
|
+
return Reflect.set(target, prop, value, receiver);
|
|
124
|
+
},
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
function withProp(target, prop, value) {
|
|
128
|
+
return withProps(target, Object.defineProperty(Object.create(null), prop, {
|
|
129
|
+
value,
|
|
130
|
+
writable: false,
|
|
131
|
+
}));
|
|
132
|
+
}
|
|
133
|
+
function createShadow(ctx, target, property, receiver) {
|
|
134
|
+
if (!property)
|
|
135
|
+
return receiver;
|
|
136
|
+
const origin = Reflect.getOwnPropertyDescriptor(target, property)?.value;
|
|
137
|
+
if (!origin)
|
|
138
|
+
return receiver;
|
|
139
|
+
return withProp(receiver, property, ctx.extend({ [symbols.shadow]: origin }));
|
|
140
|
+
}
|
|
141
|
+
function createShadowMethod(ctx, value, outer, shadow) {
|
|
142
|
+
return new Proxy(value, {
|
|
143
|
+
apply: (target, thisArg, args) => {
|
|
144
|
+
if (thisArg === outer)
|
|
145
|
+
thisArg = shadow;
|
|
146
|
+
return getTraceable(ctx, Reflect.apply(target, thisArg, args));
|
|
147
|
+
},
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
function createTraceable(ctx, value, tracker) {
|
|
151
|
+
// noShadow services are identity-aware (e.g. logger uses the origin fiber to
|
|
152
|
+
// derive its name): keep the shadow ctx so they can read [symbols.shadow]
|
|
153
|
+
// and resolve the origin. Non-noShadow services strip — their side effects
|
|
154
|
+
// bind to caller, not origin.
|
|
155
|
+
if (ctx[symbols.shadow] && !tracker.noShadow) {
|
|
156
|
+
ctx = Object.getPrototypeOf(ctx);
|
|
157
|
+
}
|
|
158
|
+
const proxy = new Proxy(value, {
|
|
159
|
+
get: (target, prop, receiver) => {
|
|
160
|
+
if (prop === symbols.original)
|
|
161
|
+
return target;
|
|
162
|
+
if (prop === tracker.property)
|
|
163
|
+
return ctx;
|
|
164
|
+
if (typeof prop === 'symbol') {
|
|
165
|
+
return Reflect.get(target, prop, receiver);
|
|
166
|
+
}
|
|
167
|
+
if (tracker.associate && ctx.reflect.props[`${tracker.associate}.${prop}`]) {
|
|
168
|
+
return Reflect.get(ctx, `${tracker.associate}.${prop}`, withProp(ctx, symbols.receiver, receiver));
|
|
169
|
+
}
|
|
170
|
+
let shadow, innerValue;
|
|
171
|
+
const desc = getPropertyDescriptor(target, prop);
|
|
172
|
+
if (desc && 'value' in desc) {
|
|
173
|
+
innerValue = desc.value;
|
|
174
|
+
}
|
|
175
|
+
else {
|
|
176
|
+
shadow = createShadow(ctx, target, tracker.property, receiver);
|
|
177
|
+
innerValue = Reflect.get(target, prop, shadow);
|
|
178
|
+
}
|
|
179
|
+
const innerTracker = innerValue?.[symbols.tracker];
|
|
180
|
+
if (innerTracker) {
|
|
181
|
+
return createTraceable(ctx, innerValue, innerTracker);
|
|
182
|
+
}
|
|
183
|
+
else if (!tracker.noShadow && typeof innerValue === 'function') {
|
|
184
|
+
shadow ??= createShadow(ctx, target, tracker.property, receiver);
|
|
185
|
+
return createShadowMethod(ctx, innerValue, receiver, shadow);
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
return innerValue;
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
set: (target, prop, value, receiver) => {
|
|
192
|
+
if (prop === symbols.original)
|
|
193
|
+
return false;
|
|
194
|
+
if (prop === tracker.property)
|
|
195
|
+
return false;
|
|
196
|
+
if (typeof prop === 'symbol') {
|
|
197
|
+
return Reflect.set(target, prop, value, receiver);
|
|
198
|
+
}
|
|
199
|
+
if (tracker.associate && ctx.reflect.props[`${tracker.associate}.${prop}`]) {
|
|
200
|
+
return Reflect.set(ctx, `${tracker.associate}.${prop}`, value, withProp(ctx, symbols.receiver, receiver));
|
|
201
|
+
}
|
|
202
|
+
const shadow = createShadow(ctx, target, tracker.property, receiver);
|
|
203
|
+
return Reflect.set(target, prop, value, shadow);
|
|
204
|
+
},
|
|
205
|
+
apply: (target, thisArg, args) => {
|
|
206
|
+
return applyTraceable(proxy, target, thisArg, args);
|
|
207
|
+
},
|
|
208
|
+
});
|
|
209
|
+
return proxy;
|
|
210
|
+
}
|
|
211
|
+
function applyTraceable(proxy, value, thisArg, args) {
|
|
212
|
+
if (!value[symbols.invoke])
|
|
213
|
+
return Reflect.apply(value, thisArg, args);
|
|
214
|
+
return value[symbols.invoke].apply(proxy, args);
|
|
215
|
+
}
|
|
216
|
+
/** Create a callable service object that dispatches through `symbols.invoke`. */
|
|
217
|
+
export function createCallable(name, proto, tracker) {
|
|
218
|
+
const self = function (...args) {
|
|
219
|
+
const proxy = createTraceable(self['ctx'], self, tracker);
|
|
220
|
+
return applyTraceable(proxy, self, this, args);
|
|
221
|
+
};
|
|
222
|
+
defineProperty(self, 'name', name);
|
|
223
|
+
return Object.setPrototypeOf(self, proto);
|
|
224
|
+
}
|
|
225
|
+
function handleError(info, reason, getOuterStack) {
|
|
226
|
+
const innerLines = info.error.stack.split('\n');
|
|
227
|
+
// malformed error
|
|
228
|
+
if (typeof reason?.stack !== 'string') {
|
|
229
|
+
const outerError = new Error(reason);
|
|
230
|
+
const lines = outerError.stack.split('\n');
|
|
231
|
+
lines.splice(1, Infinity, ...getOuterStack());
|
|
232
|
+
outerError.stack = lines.join('\n');
|
|
233
|
+
throw outerError;
|
|
234
|
+
}
|
|
235
|
+
// long stack trace
|
|
236
|
+
const lines = reason.stack.split('\n');
|
|
237
|
+
let index = lines.indexOf(innerLines[2]);
|
|
238
|
+
if (index === -1)
|
|
239
|
+
throw reason;
|
|
240
|
+
index -= info.offset;
|
|
241
|
+
while (index > 0) {
|
|
242
|
+
if (!lines[index - 1].endsWith(' (<anonymous>)'))
|
|
243
|
+
break;
|
|
244
|
+
index -= 1;
|
|
245
|
+
}
|
|
246
|
+
lines.splice(index, Infinity, ...getOuterStack());
|
|
247
|
+
reason.stack = lines.join('\n');
|
|
248
|
+
throw reason;
|
|
249
|
+
}
|
|
250
|
+
/** Run a callback and splice outer call-site frames into thrown async errors. */
|
|
251
|
+
export function composeError(callback, getOuterStack = buildOuterStack()) {
|
|
252
|
+
const info = { offset: 1, error: new Error() };
|
|
253
|
+
try {
|
|
254
|
+
const result = callback(info);
|
|
255
|
+
if (isObject(result) && 'then' in result) {
|
|
256
|
+
return result.then(undefined, (reason) => handleError(info, reason, getOuterStack));
|
|
257
|
+
}
|
|
258
|
+
else {
|
|
259
|
+
return result;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
catch (reason) {
|
|
263
|
+
handleError(info, reason, getOuterStack);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
/** Capture a lazy stack-frame supplier for later error composition. */
|
|
267
|
+
export function buildOuterStack(offset = 0) {
|
|
268
|
+
const outerError = new Error();
|
|
269
|
+
return () => outerError.stack.split('\n').slice(3 + offset);
|
|
270
|
+
}
|
|
271
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nomix-ai/cordis",
|
|
3
|
+
"description": "Meta-Framework for Modern JavaScript Applications",
|
|
4
|
+
"version": "4.0.1",
|
|
5
|
+
"private": true,
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/ditgaldev/nomix-harness.git",
|
|
9
|
+
"directory": "vendor/cordis"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"type": "module",
|
|
13
|
+
"main": "lib/index.js",
|
|
14
|
+
"types": "lib/types/index.d.ts",
|
|
15
|
+
"bin": "bin.js",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./lib/types/index.d.ts",
|
|
19
|
+
"default": "./lib/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./src/*": "./src/*",
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"lib/index.js",
|
|
26
|
+
"lib/types/**/*.d.ts",
|
|
27
|
+
"lib/types/**/*.d.ts.map",
|
|
28
|
+
"bin.js",
|
|
29
|
+
"src"
|
|
30
|
+
],
|
|
31
|
+
"author": "Shigma <shigma10826@gmail.com>",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@nomix-ai/cordis-plugin-include": "workspace:^",
|
|
35
|
+
"@nomix-ai/cordis-plugin-loader": "workspace:^"
|
|
36
|
+
},
|
|
37
|
+
"peerDependenciesMeta": {
|
|
38
|
+
"@nomix-ai/cordis-plugin-include": {
|
|
39
|
+
"optional": true
|
|
40
|
+
},
|
|
41
|
+
"@nomix-ai/cordis-plugin-loader": {
|
|
42
|
+
"optional": true
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@standard-schema/spec": "^1.1.0",
|
|
47
|
+
"@nomix-ai/cosmokit": "workspace:^"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* This is API discipline, not a security boundary: a dynamic package's code is
|
|
13
13
|
* as trusted as the host process that accepted its definition.
|
|
14
14
|
*/
|
|
15
|
-
import { Context } from '
|
|
15
|
+
import { Context } from '../../../../cordis/lib/index.js';
|
|
16
16
|
import type { DynamicCordisPackage } from '../../../../api-remotes/lib/client.js';
|
|
17
17
|
/** One package's slot-registration ledger row (contribution projection source). */
|
|
18
18
|
export interface DynamicCordisSlotLedgerRow {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* This is API discipline, not a security boundary: a dynamic package's code is
|
|
13
13
|
* as trusted as the host process that accepted its definition.
|
|
14
14
|
*/
|
|
15
|
-
import { Context } from '
|
|
15
|
+
import { Context } from '../../../../cordis/lib/index.js';
|
|
16
16
|
/** Facade verbs beyond declared services (host CTX_VERBS twin). */
|
|
17
17
|
const CTX_VERBS = new Set([
|
|
18
18
|
'effect', 'on', 'once', 'provide', 'timeout', 'interval', 'setTimeout', 'setInterval', 'throttle', 'debounce',
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* host process memory still holds the definition, the page simply does not run
|
|
10
10
|
* it until asked again.
|
|
11
11
|
*/
|
|
12
|
-
import type { Context } from '
|
|
12
|
+
import type { Context } from '../../../../cordis/lib/index.js';
|
|
13
13
|
import type { ApprovalRequestId, CordisDynamicPluginId, DynamicCordisInventoryRow } from '../../../../api-remotes/lib/client.js';
|
|
14
14
|
import type { DynamicCordisLivePackage } from './runtime.ts';
|
|
15
15
|
import type { CordisRunActivity, CordisRunFailure, CordisUserRunRequest } from './orchestrator.ts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Browser registry for read-only Cordis capability providers. */
|
|
2
|
-
import type { Context } from '
|
|
2
|
+
import type { Context } from '../../../../cordis/lib/index.js';
|
|
3
3
|
import type { CordisInspectProviderManifest, CordisInspectQueryRequest, CordisInspectQueryResolution, CordisInspectRequestId, JsonValue } from '../../../../api-remotes/lib/client.js';
|
|
4
4
|
import type { SessionId } from '../../../../client-connection/lib/client.js';
|
|
5
5
|
/** Context supplied to a Client inspect provider query. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Built-in Client inspect providers over live Client-owned services. */
|
|
2
|
-
import type { Context } from '
|
|
2
|
+
import type { Context } from '../../../../cordis/lib/index.js';
|
|
3
3
|
import type { JsonValue } from '../../../../api-remotes/lib/client.js';
|
|
4
4
|
import type { ClientCordisInspectProviderRegistration } from './inspect-registry.ts';
|
|
5
5
|
/** Exact Client closure symbols exposed by the evaluator and guard. */
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* replaces it, and the same Package after a retract loads afresh. Per-Plugin
|
|
14
14
|
* serialization keeps a second request from interleaving with one in flight.
|
|
15
15
|
*/
|
|
16
|
-
import type { Context } from '
|
|
17
|
-
import type { Loader } from '
|
|
16
|
+
import type { Context } from '../../../../cordis/lib/index.js';
|
|
17
|
+
import type { Loader } from '../../../../cordis-plugin-loader/lib/index.js';
|
|
18
18
|
import type { CordisDynamicPackageId, CordisDynamicPluginId, CordisDynamicPluginRunId } from '../../../../api-remotes/lib/client.js';
|
|
19
19
|
import type { SessionId } from '../../../../client-connection/lib/client.js';
|
|
20
20
|
import type { ClientModuleSystem } from '../../../../client-modules/lib/client.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Browser implementation of the Cordis timer Service. */
|
|
2
|
-
import { Service } from '
|
|
3
|
-
import type { Context } from '
|
|
2
|
+
import { Service } from '../../../../cordis/lib/index.js';
|
|
3
|
+
import type { Context } from '../../../../cordis/lib/index.js';
|
|
4
4
|
declare module '@nomix-ai/cordis' {
|
|
5
5
|
interface Context extends Pick<ClientTimerService, 'interval' | 'timeout' | 'throttle' | 'debounce' | 'setTimeout' | 'setInterval'> {
|
|
6
6
|
/** Browser timer Service used by the mixed-in Context helpers. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Browser implementation of the Cordis timer Service. */
|
|
2
|
-
import { Service } from '
|
|
2
|
+
import { Service } from '../../../../cordis/lib/index.js';
|
|
3
3
|
// These `any` positions mirror the Host TimerService's overload erasure: generic callback tuples and async-iterator
|
|
4
4
|
// return/rejection values must pass through without narrowing them to one caller's invocation.
|
|
5
5
|
/** Browser timer Service with the same public API as the Host Cordis TimerService. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Package-owned invariant companion for `@nomix-ai/nomix-cordis-client-runner`.
|
|
3
3
|
* @module @nomix-ai/nomix-cordis-client-runner/invariant
|
|
4
4
|
*/
|
|
5
|
-
import type { Context } from '
|
|
5
|
+
import type { Context } from '../../../cordis/lib/index.js';
|
|
6
6
|
/** Cordis companion plugin name. */
|
|
7
7
|
export declare const name = "cordis-client-runner-invariant";
|
|
8
8
|
/** Service required before the companion can reserve package ownership. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomix-ai/nomix-cordis-client-runner",
|
|
3
3
|
"description": "Browser half of dynamic dual-half plugin packages: event subscription, closure evaluation, guard facade, and loader entries",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import z from "
|
|
1
|
+
import z from "../../schemastery/lib/index.mjs";
|
|
2
2
|
import { createUserMessage } from "../../llm/lib/index.js";
|
|
3
3
|
import { Remote, TypertRemoteService } from "../../typert-protocol/lib/index.js";
|
|
4
|
-
import { Context, Service } from "
|
|
4
|
+
import { Context, Service } from "../../cordis/lib/index.js";
|
|
5
5
|
import { scopeOf } from "../../scope/lib/index.js";
|
|
6
6
|
import { assertSupportedJsonSchema, defineTool, validateJsonSchemaValue } from "../../tools/lib/index.js";
|
|
7
7
|
import { snapshotJsonValue } from "../../session/lib/index.js";
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* have one meaning; invalid vocabulary fails during registration with a teaching error.
|
|
13
13
|
* @module @nomix-ai/nomix-cordis-host-runner/guard
|
|
14
14
|
*/
|
|
15
|
-
import { Context } from '
|
|
16
|
-
import type { Plugin } from '
|
|
15
|
+
import { Context } from '../../../cordis/lib/index.js';
|
|
16
|
+
import type { Plugin } from '../../../cordis/lib/index.js';
|
|
17
17
|
import type { ToolDefinition } from '../../../tools/lib/index.js';
|
|
18
18
|
/**
|
|
19
19
|
* The `harness.defineTool` handed into the sandbox: the real DSL, with `parameters` normalized
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* have one meaning; invalid vocabulary fails during registration with a teaching error.
|
|
13
13
|
* @module @nomix-ai/nomix-cordis-host-runner/guard
|
|
14
14
|
*/
|
|
15
|
-
import { Context } from '
|
|
15
|
+
import { Context } from '../../../cordis/lib/index.js';
|
|
16
16
|
import { scopeOf } from '../../../scope/lib/index.js';
|
|
17
17
|
import { assertSupportedJsonSchema, defineTool } from '../../../tools/lib/index.js';
|
|
18
18
|
const DYNAMIC_TOOL = Symbol('cordis-host-runner.dynamic-tool');
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* per Plugin, human-approved Client activation, and Host/Client invocation.
|
|
4
4
|
* @module @nomix-ai/nomix-cordis-host-runner
|
|
5
5
|
*/
|
|
6
|
-
import { Context } from '
|
|
7
|
-
import type { Fiber } from '
|
|
8
|
-
import z from '
|
|
6
|
+
import { Context } from '../../../cordis/lib/index.js';
|
|
7
|
+
import type { Fiber } from '../../../cordis/lib/index.js';
|
|
8
|
+
import z from '../../../schemastery/lib/index.mjs';
|
|
9
9
|
import type { Agent } from '../../../agent/lib/index.js';
|
|
10
10
|
import type { JsonValue } from '../../../session/lib/types/types.js';
|
|
11
11
|
import { TypertRemoteService } from '../../../typert-protocol/lib/index.js';
|
|
@@ -37,7 +37,7 @@ var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn,
|
|
|
37
37
|
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
38
38
|
done = true;
|
|
39
39
|
};
|
|
40
|
-
import z from '
|
|
40
|
+
import z from '../../../schemastery/lib/index.mjs';
|
|
41
41
|
import { createUserMessage } from '../../../llm/lib/index.js';
|
|
42
42
|
import { TypertRemoteService, Remote } from '../../../typert-protocol/lib/index.js';
|
|
43
43
|
import { isPlugin, normalizeHandler } from "./guard.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Host registry for model-visible, read-only Cordis capability queries. */
|
|
2
|
-
import { Service } from '
|
|
3
|
-
import type { Context } from '
|
|
2
|
+
import { Service } from '../../../cordis/lib/index.js';
|
|
3
|
+
import type { Context } from '../../../cordis/lib/index.js';
|
|
4
4
|
import type { Agent } from '../../../agent/lib/index.js';
|
|
5
5
|
import type { JsonValue } from '../../../session/lib/types/types.js';
|
|
6
6
|
import type { CordisInspectPlatform, CordisInspectProviderManifest, CordisInspectProviderView, CordisInspectQueryResolution, CordisInspectRequestId, CordisInspectResolveAck } from './types.ts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Host registry for model-visible, read-only Cordis capability queries. */
|
|
2
|
-
import { Service } from '
|
|
2
|
+
import { Service } from '../../../cordis/lib/index.js';
|
|
3
3
|
import { snapshotJsonValue } from '../../../session/lib/index.js';
|
|
4
4
|
import { assertSupportedJsonSchema, validateJsonSchemaValue } from '../../../tools/lib/index.js';
|
|
5
5
|
/** Registry and cross-page router behind the two model-facing inspect tools. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Package-owned invariant companion for `@nomix-ai/nomix-cordis-host-runner`.
|
|
3
3
|
* @module @nomix-ai/nomix-cordis-host-runner/invariant
|
|
4
4
|
*/
|
|
5
|
-
import type { Context } from '
|
|
5
|
+
import type { Context } from '../../../cordis/lib/index.js';
|
|
6
6
|
/** Cordis companion plugin name. */
|
|
7
7
|
export declare const name = "cordis-host-runner-invariant";
|
|
8
8
|
/** Service required before the companion can reserve package ownership. */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* effect on its fiber.
|
|
8
8
|
* @module @nomix-ai/nomix-cordis-host-runner/lifecycle
|
|
9
9
|
*/
|
|
10
|
-
import type { Context, Fiber, Plugin } from '
|
|
10
|
+
import type { Context, Fiber, Plugin } from '../../../cordis/lib/index.js';
|
|
11
11
|
/**
|
|
12
12
|
* Await the group, start and settle one guarded child, and dispose it before rethrowing any
|
|
13
13
|
* startup failure so a failed run never lingers. A valid unresolved inject may remain pending.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Process-local dynamic Plugin registry and its opaque identity mints.
|
|
3
3
|
* @module @nomix-ai/nomix-cordis-host-runner/registry
|
|
4
4
|
*/
|
|
5
|
-
import type { Fiber } from '
|
|
5
|
+
import type { Fiber } from '../../../cordis/lib/index.js';
|
|
6
6
|
import type { SessionId } from '../../../session/lib/types/types.js';
|
|
7
7
|
import type { ApprovalRequestId, CordisDynamicPackageId, CordisDynamicPluginId, CordisDynamicPluginRunId, CordisDynamicRunMode, DynamicCordisRenderFailure, DynamicCordisRunAttempt } from './types.ts';
|
|
8
8
|
/** One Host method exposed to this package's Client half. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomix-ai/nomix-cordis-host-runner",
|
|
3
3
|
"description": "Dynamic package definition registry, host-half sandbox lifecycle, and invoke handler table for model-mounted dual-half packages",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nomix-ai/cordis-plugin-group",
|
|
3
|
+
"description": "Nested plugin group for cordis",
|
|
4
|
+
"version": "1.0.1",
|
|
5
|
+
"private": true,
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/ditgaldev/nomix-harness.git",
|
|
9
|
+
"directory": "vendor/group"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"main": "lib/index.js",
|
|
13
|
+
"types": "lib/types/index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./lib/types/index.d.ts",
|
|
17
|
+
"default": "./lib/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./src/*": "./src/*",
|
|
20
|
+
"./package.json": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"lib/index.js",
|
|
24
|
+
"lib/types/**/*.d.ts",
|
|
25
|
+
"lib/types/**/*.d.ts.map",
|
|
26
|
+
"src"
|
|
27
|
+
],
|
|
28
|
+
"author": "Shigma <shigma10826@gmail.com>",
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"@nomix-ai/cordis-plugin-loader": "workspace:^",
|
|
32
|
+
"@nomix-ai/cordis": "workspace:^"
|
|
33
|
+
}
|
|
34
|
+
}
|