@orkestrel/scaffold 0.0.136 → 0.0.137
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/bin/main.js +11 -11
- package/dist/host/claude/agents/orkestrel.md +49 -49
- package/dist/host/guides/agent.md +3 -1
- package/dist/host/guides/brief.md +16 -16
- package/dist/host/guides/browser.md +1 -1
- package/dist/host/guides/database.md +14 -11
- package/dist/host/guides/reason.md +1 -1
- package/dist/host/guides/tool.md +2 -1
- package/dist/host/guides/toolbox.md +44 -44
- package/dist/host/guides/workflow.md +2 -2
- package/dist/host/manifest.json +10 -10
- package/dist/host/scripts/browsers.sh +0 -0
- package/dist/host/scripts/codex.sh +0 -0
- package/dist/host/scripts/cursor.sh +0 -0
- package/dist/host/scripts/deps.sh +0 -0
- package/dist/host/scripts/npm.sh +0 -0
- package/dist/host/scripts/ollama.sh +0 -0
- package/dist/src/core/index.cjs +11 -11
- package/dist/src/core/index.js +11 -11
- package/package.json +11 -11
|
@@ -273,7 +273,7 @@ The core supplies the entities a browser session and an agent use. Its host-spec
|
|
|
273
273
|
| `BROWSER_DEFAULT_VIEWPORT_HEIGHT` | const | `720` | Sets the default viewport height, `720` pixels. |
|
|
274
274
|
| `BROWSER_DEFAULT_VIEWPORT_WIDTH` | const | `1280` | Sets the default viewport width, `1280` pixels. |
|
|
275
275
|
| `BROWSER_FRAME_WORLD_NAME` | const | `"__orkestrelBrowserFrame"` | Names the isolated world used for iframe evaluation, `'__orkestrelBrowserFrame'`. |
|
|
276
|
-
| `BROWSER_HAR_CREATOR` | const | `Readonly<{ name: "@orkestrel/browser"; version: "0.0.
|
|
276
|
+
| `BROWSER_HAR_CREATOR` | const | `Readonly<{ name: "@orkestrel/browser"; version: "0.0.34"; }>` | Names the tool identity embedded in HAR 1.2 documents. |
|
|
277
277
|
| `BROWSER_KEY_MODIFIERS` | const | `Readonly<Record<string, number>>` | Maps a canonical modifier name to its CDP Input modifier bit value. |
|
|
278
278
|
| `BROWSER_MOUSE_BUTTON_MASKS` | const | `Readonly<Record<BrowserMouseButton, number>>` | Maps each public mouse button to its CDP Input pressed-button bit value. |
|
|
279
279
|
| `BROWSER_NAVIGATION_REASONS` | const | `readonly BrowserNavigationReason[]` | Lists every CDP `Page.ClientNavigationReason` value a page accepts as a navigation's reason, as of Chromium 141; a page reads any other reason as undefined. |
|
|
@@ -209,6 +209,8 @@ driver never re-implements.
|
|
|
209
209
|
| `compareValues` | function | `(left: unknown, right: unknown) => number` | Compares two arbitrary values under one total order — the comparator behind sorting and the range operators. |
|
|
210
210
|
| `matchesCondition` | function | `(row: Row, condition: Condition, scalars?: ReadonlySet<unknown>) => boolean` | Evaluates one `Condition` against a row — the per-operator predicate. |
|
|
211
211
|
| `matchesQuery` | function | `(row: Row, conditions: readonly Condition[], scalars?: ReadonlyArray<ReadonlySet<unknown>>) => boolean` | Folds a row through a list of conditions, joining each by its connector. |
|
|
212
|
+
| `extractOrderKeys` | function | `(row: Row, order: readonly Order[]) => readonly unknown[]` | Extracts the values an ordering specification compares from one row, one per term. |
|
|
213
|
+
| `compareOrderKeys` | function | `(left: readonly unknown[], right: readonly unknown[], order: readonly Order[]) => number` | Compares two rows' order keys under an ordering specification. |
|
|
212
214
|
| `sortRows` | function | `(rows: readonly Row[], order: readonly Order[]) => readonly Row[]` | Sorts rows by an ordering specification, leaving the input untouched. |
|
|
213
215
|
| `applyQuery` | function | `(rows: readonly Row[], input?: QueryInput) => readonly Row[]` | Applies a `QueryInput` to rows — filter, then sort, then page. |
|
|
214
216
|
| `validatePage` | function | `(input?: QueryInput) => void` | Validates the paging fields of a portable query. |
|
|
@@ -294,16 +296,16 @@ transform. Versioning drivers persist reconciliation metadata through the paired
|
|
|
294
296
|
|
|
295
297
|
### Conformance
|
|
296
298
|
|
|
297
|
-
| Name | Kind | Signature
|
|
298
|
-
| ---------------------- | -------- |
|
|
299
|
-
| `conformDriver` | function | `(factory: () => DriverInterface) => Promise<void>`
|
|
300
|
-
| `scanDriver` | function | `(factory: () => DriverInterface) => AsyncIterable<ConformanceFinding>`
|
|
301
|
-
| `buildFailureFinding` | function | `(check: string, error: unknown) => ConformanceFinding`
|
|
302
|
-
| `auditDriver` | function | `(factory: () => DriverInterface) => Promise<readonly ConformanceFinding[]>`
|
|
303
|
-
| `findPlanFaults` | function | `(input: ReadInput, plan: ReadPlan) => readonly string[]`
|
|
304
|
-
| `readPlannedRows` | function | `(storage: StorageInterface, table: string, input: QueryInput, step?: () => Promise<void
|
|
305
|
-
| `readPlannedAggregate` | function | `(storage: StorageInterface, table: string, input: QueryInput, aggregate: Aggregate, step?: () => Promise<void>) => Promise<number \| undefined>`
|
|
306
|
-
| `scanPlans` | function | `(storage: StorageInterface, check: string) => AsyncIterable<ConformanceFinding>`
|
|
299
|
+
| Name | Kind | Signature | Summary |
|
|
300
|
+
| ---------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
301
|
+
| `conformDriver` | function | `(factory: () => DriverInterface) => Promise<void>` | Runs the driver-conformance battery, throwing on the first violated invariant — the fail-fast entry point most callers (test setup, CI smoke checks) want. |
|
|
302
|
+
| `scanDriver` | function | `(factory: () => DriverInterface) => AsyncIterable<ConformanceFinding>` | Walks the driver-conformance battery against a fresh `DriverInterface` per phase, yielding one `ConformanceFinding` per violated invariant — the shared invariant suite every backend (in-memory, SQLite, IndexedDB) must uphold to be a drop-in `DriverInterface`. |
|
|
303
|
+
| `buildFailureFinding` | function | `(check: string, error: unknown) => ConformanceFinding` | Builds the finding a conformance phase yields when it throws, naming the phase. |
|
|
304
|
+
| `auditDriver` | function | `(factory: () => DriverInterface) => Promise<readonly ConformanceFinding[]>` | Runs the full driver-conformance battery and collects every violation — the audit entry point for a driver author who wants a complete report rather than a single fail-fast throw. |
|
|
305
|
+
| `findPlanFaults` | function | `(input: ReadInput, plan: ReadPlan) => readonly string[]` | Lists the invariants a `ReadPlan` breaks for the read it splits. |
|
|
306
|
+
| `readPlannedRows` | function | `(storage: StorageInterface, table: string, input: QueryInput, step?: () => Promise<void>, accept?: (row: Row) => boolean) => Promise<readonly Row[]>` | Reads the rows of a read through a storage's plan — the read procedure `Table.records` runs and the conformance differential checks. |
|
|
307
|
+
| `readPlannedAggregate` | function | `(storage: StorageInterface, table: string, input: QueryInput, aggregate: Aggregate, step?: () => Promise<void>) => Promise<number \| undefined>` | Computes an aggregate read through a storage's plan — the read procedure `Table.count` and `Table.aggregate` run and the conformance differential checks. |
|
|
308
|
+
| `scanPlans` | function | `(storage: StorageInterface, check: string) => AsyncIterable<ConformanceFinding>` | Compares a storage's planned answer to every conformance read against the core engine's answer over its `scan`, and checks each plan's invariants. |
|
|
307
309
|
|
|
308
310
|
### Helpers & guards
|
|
309
311
|
|
|
@@ -724,7 +726,8 @@ These invariants hold across the core database source tree ↔ this guide:
|
|
|
724
726
|
backend can build real tables and indexes; a scan-only backend reads only `name`. A
|
|
725
727
|
driver declares its native coverage per read through `plan`, which returns a `ReadPlan`;
|
|
726
728
|
`Table` calls `records`, `stream`, and `aggregate` with `plan.native` only, and runs the
|
|
727
|
-
residual through `
|
|
729
|
+
residual through `matchesQuery`, `compareOrderKeys`, and `sortRows`, folding a residual
|
|
730
|
+
aggregate as its rows stream. A read
|
|
728
731
|
is wholly native when `residual` equals `{}`. `scanDriver` checks every plan's invariants,
|
|
729
732
|
the transaction capability's mirror of the native members, and a differential of each
|
|
730
733
|
planned driver against the core engine over `scan`. The following table rules where
|
|
@@ -971,7 +971,7 @@ reasoner.reason({ age: '30.0' }, definition).errors // ['age: type; expected num
|
|
|
971
971
|
|
|
972
972
|
A subject with accessors has to read the same every time, because `explain`, `audit`, and `parse` each read it: a getter answering `30` and then `'30.0'` is admitted as `{ age: 30 }` with no repair recorded. Hand the door plain data. The same goes for a definition: `validate` runs once per definition by identity, so one edited in place after its first run is not validated again. Build a new one instead.
|
|
973
973
|
|
|
974
|
-
The door
|
|
974
|
+
The door admits through `contract`'s `repairValue` function: it repairs a lossless leaf, such as the number `30` from the string `'30'`, reports the repair in `repairs`, and refuses undeclared keys, ambiguous unions, truncated audits, and lossy repairs. An object declared open admits extras.
|
|
975
975
|
|
|
976
976
|
A door fault's `path` is `contract`'s array of keys and an engine fault's is the path the rule wrote, so compare them with `formatField`. `parse` gives the subject the reasoner reads. What it coerced is reported in `repairs`, and only a lossless repair is accepted: a number from a string whose trim is the number's own text, so `'30'` and `' 30 '` pass and `'30.0'`, `'007'`, `'0x10'`, and `'1e3'` refuse; a boolean from `'true'` or `'false'` only; a literal from its trimmed text; a string from a finite number. A field declared with `optionalShape(inner, { default })` carries that default in its schema, and `parse` fills it when the key is absent or `undefined`. `defaulted` lists what `parse` filled, read from the difference between what arrived and what came out.
|
|
977
977
|
|
package/dist/host/guides/tool.md
CHANGED
|
@@ -411,8 +411,9 @@ raw stay by reference. So `{ type: 'object' }` gives a null-prototype copy of th
|
|
|
411
411
|
values by reference, and `parameters: {}` or a root `$ref` gives a plain top-level copy with nested
|
|
412
412
|
values by reference.
|
|
413
413
|
|
|
414
|
-
The
|
|
414
|
+
The door admits through `repairValue` from `@orkestrel/contract`, which repairs a lossless leaf: it accepts `'30'` as `30`, `'true'`
|
|
415
415
|
as `true`, and a finite number as its string. It refuses `'30.0'`, which changes the supplied text.
|
|
416
|
+
A model sends the arguments, so state the repair in the description of every tool that keeps the door, which every tool but a `strict: false` one does.
|
|
416
417
|
The handler receives the admitted value without another parse. The argument snapshot remains
|
|
417
418
|
in this package, and a union may retain that snapshot or its nested values by identity.
|
|
418
419
|
`anyOf: [T, { type: 'null' }]` and `type: [T, 'null']` convert to a nullable rather than a union, so `'5'` reaches the handler
|
|
@@ -161,44 +161,44 @@ The shape values each `create*Tool` factory (and `createWorkflowDraftContract`)
|
|
|
161
161
|
|
|
162
162
|
### Constants
|
|
163
163
|
|
|
164
|
-
| Name | Kind | Signature
|
|
165
|
-
| ------------------------------ | ----- |
|
|
166
|
-
| `AGENT_TOOL_NAME` | const | `"agent"`
|
|
167
|
-
| `AGENT_TOOL_DEPTH` | const | `8`
|
|
168
|
-
| `AGENT_TOOL_DESCRIPTION` | const | `string`
|
|
169
|
-
| `AGENT_TOOL_SUMMARY` | const | `"Delegate a task to a sub-agent and return its result; each call runs one sub-agent turn to completion. Call describe('agent') for the full description."`
|
|
170
|
-
| `MAX_WORKFLOW_CHAIN` | const | `8`
|
|
171
|
-
| `WORKFLOW_TOOL_NAME` | const | `"workflow"`
|
|
172
|
-
| `WORKFLOW_TOOL_FLAT_EXAMPLE` | const | `WorkflowSteps`
|
|
173
|
-
| `WORKFLOW_TOOL_NESTED_EXAMPLE` | const | `WorkflowDefinition`
|
|
174
|
-
| `WORKFLOW_TOOL_DESCRIPTION` | const | `string`
|
|
175
|
-
| `WORKFLOW_TOOL_SUMMARY` | const | `"Author and run a multi-phase workflow in one call \u2014 phases run in sequence, tasks within a phase run concurrently. Call describe('workflow') for the full authoring schema and examples."`
|
|
176
|
-
| `WORKSPACE_TOOL_NAME` | const | `"workspace"`
|
|
177
|
-
| `WORKSPACE_TOOL_EXAMPLE` | const | `WorkspaceOperation`
|
|
178
|
-
| `WORKSPACE_TOOL_DESCRIPTION` | const | `string`
|
|
179
|
-
| `WORKSPACE_TOOL_SUMMARY` | const | `"Read and edit files in a workspace \u2014 one operation per call (read, write, list, search, replace, splice, move, remove), chosen by the 'operation' field. Call describe('workspace') for the full operation list and fields."`
|
|
180
|
-
| `DESCRIBE_TOOL_NAME` | const | `"describe"`
|
|
181
|
-
| `DESCRIBE_TOOL_SUMMARY` | const | `"Return the full description of a named registered tool."`
|
|
182
|
-
| `DESCRIBE_TOOL_DESCRIPTION` | const | `"Return the full description of a registered tool by its name. Required: name - the registered tool name (see another tool listing for available names)."`
|
|
183
|
-
| `PROMPT_TOOL_NAME` | const | `"ask"`
|
|
184
|
-
| `PROMPT_TOOL_SUMMARY` | const | `"Ask another terminal a multi-field form and BLOCK until it answers; the call resolves with the values record. Call describe('ask') for the schema."`
|
|
185
|
-
| `PROMPT_TOOL_DESCRIPTION` | const | `string`
|
|
186
|
-
| `ANSWER_TOOL_NAME` | const | `"answer"`
|
|
187
|
-
| `ANSWER_TOOL_SUMMARY` | const | `"List forms addressed to this terminal, or answer one by id with a values record. Call describe('answer') for the required fields."`
|
|
188
|
-
| `ANSWER_TOOL_DESCRIPTION` | const | `string`
|
|
189
|
-
| `DATABASE_TOOL_NAME` | const | `"database"`
|
|
190
|
-
| `DATABASE_TOOL_SUMMARY` | const | `"Create and query a database \u2014 one operation per call (create, tables, get, records, count, aggregate, add, set, update, remove, destroy), chosen by the 'operation' field. Call describe('database') for the full operation list, the query form, and the column DSL."` | Holds the lean `ToolInterface.summary` `createDatabaseTool` advertises in place of `DATABASE_TOOL_DESCRIPTION` — one sentence offering the `operation`-keyed database call and pointing at `describe` for the operation list, the query form, and the column DSL. |
|
|
191
|
-
| `DATABASE_TOOL_DESCRIPTION` | const | `string`
|
|
192
|
-
| `DATABASE_TOOL_LIMIT` | const | `1000`
|
|
193
|
-
| `DATABASE_TOOL_MUTATIONS` | const | `readonly string[]`
|
|
194
|
-
| `RELATION_TOOL_NAME` | const | `"relation"`
|
|
195
|
-
| `RELATION_TOOL_SUMMARY` | const | `"Traverse and edit relationships between database rows \u2014 one operation per call (load, find, link, unlink, links), chosen by the 'operation' field. Call describe('relation') for the include-path syntax."`
|
|
196
|
-
| `RELATION_TOOL_DESCRIPTION` | const | `string`
|
|
197
|
-
| `RELATION_TOOL_LIMIT` | const | `1000`
|
|
198
|
-
| `RELATION_TOOL_DEPTH` | const | `3`
|
|
199
|
-
| `INFER_TOOL_NAME` | const | `"infer"`
|
|
200
|
-
| `INFER_TOOL_SUMMARY` | const | `"Infer a JSON Schema (as advertised tool parameters) from one or more example values. Call describe('infer') for the required fields."`
|
|
201
|
-
| `INFER_TOOL_DESCRIPTION` | const | `string`
|
|
164
|
+
| Name | Kind | Signature | Summary |
|
|
165
|
+
| ------------------------------ | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
166
|
+
| `AGENT_TOOL_NAME` | const | `"agent"` | Holds the name `createAgentTool` advertises by default, `'agent'` — the key a model calls and the `ToolManagerInterface` (`@orkestrel/tool`) registers under. |
|
|
167
|
+
| `AGENT_TOOL_DEPTH` | const | `8` | Holds the maximum nesting depth a delegation chain (agent tool → sub-agent → agent tool → …) may reach, `8` — the bound `createAgentTool`'s depth/cycle guard enforces. |
|
|
168
|
+
| `AGENT_TOOL_DESCRIPTION` | const | `string` | Holds the description `createAgentTool` advertises — a short guide covering the one field a call sends, `task`, and that the host fixes the sub-agent. |
|
|
169
|
+
| `AGENT_TOOL_SUMMARY` | const | `"Delegate a task to a sub-agent and return its result; each call runs one sub-agent turn to completion. Call describe('agent') for the full description."` | Holds the lean `ToolInterface.summary` `createAgentTool` advertises in place of `AGENT_TOOL_DESCRIPTION` — one sentence offering sub-agent delegation and pointing at `describe` for the full description. |
|
|
170
|
+
| `MAX_WORKFLOW_CHAIN` | const | `8` | Holds the maximum nesting depth a workflow → agent → workflow chain may reach, `8` — the bound `createAgentFunction` and `createWorkflowTool`'s depth/cycle guards enforce. |
|
|
171
|
+
| `WORKFLOW_TOOL_NAME` | const | `"workflow"` | Holds the name `createWorkflowTool` advertises by default, `'workflow'` — the key a model calls and the `ToolManagerInterface` (`@orkestrel/tool`) registers under, and the name `createAgentFunction` binds the depth/cycle-aware workflow tool under onto a wrapped agent's `context.tools`. |
|
|
172
|
+
| `WORKFLOW_TOOL_FLAT_EXAMPLE` | const | `WorkflowSteps` | Holds a complete flat authoring example — the primary way a small model authors a workflow through `createWorkflowTool`: `{ name, steps: [{ name }] }`. |
|
|
173
|
+
| `WORKFLOW_TOOL_NESTED_EXAMPLE` | const | `WorkflowDefinition` | Holds a minimal nested authoring example — the advanced escape-hatch form a model can use instead of the flat shape: a full `WorkflowDefinition` (`@orkestrel/workflow`). |
|
|
174
|
+
| `WORKFLOW_TOOL_DESCRIPTION` | const | `string` | Holds the description `createWorkflowTool` advertises — the flat authoring form, its worked example, and the advanced nested definition form. |
|
|
175
|
+
| `WORKFLOW_TOOL_SUMMARY` | const | `"Author and run a multi-phase workflow in one call \u2014 phases run in sequence, tasks within a phase run concurrently. Call describe('workflow') for the full authoring schema and examples."` | Holds the lean `ToolInterface.summary` `createWorkflowTool` advertises in place of `WORKFLOW_TOOL_DESCRIPTION` — one sentence offering multi-phase authoring and pointing at `describe` for the authoring schema and its examples. |
|
|
176
|
+
| `WORKSPACE_TOOL_NAME` | const | `"workspace"` | Holds the name `createWorkspaceTool` advertises by default, `'workspace'` — the key a model calls and the `ToolManagerInterface` (`@orkestrel/tool`) registers under. |
|
|
177
|
+
| `WORKSPACE_TOOL_EXAMPLE` | const | `WorkspaceOperation` | Holds a valid `WorkspaceOperation` object — the canonical example embedded verbatim in `WORKSPACE_TOOL_DESCRIPTION`. |
|
|
178
|
+
| `WORKSPACE_TOOL_DESCRIPTION` | const | `string` | Holds the description `createWorkspaceTool` advertises — the operation-keyed workspace protocol, all supported operations, and worked examples. |
|
|
179
|
+
| `WORKSPACE_TOOL_SUMMARY` | const | `"Read and edit files in a workspace \u2014 one operation per call (read, write, list, search, replace, splice, move, remove), chosen by the 'operation' field. Call describe('workspace') for the full operation list and fields."` | Holds the lean `ToolInterface.summary` `createWorkspaceTool` advertises in place of `WORKSPACE_TOOL_DESCRIPTION` — one sentence offering the `operation`-keyed file editing and pointing at `describe` for the operation list and its fields. |
|
|
180
|
+
| `DESCRIBE_TOOL_NAME` | const | `"describe"` | Holds the name `createDescribeTool` advertises by default, `'describe'` — the key a model calls and the `ToolManagerInterface` (`@orkestrel/tool`) registers under. |
|
|
181
|
+
| `DESCRIBE_TOOL_SUMMARY` | const | `"Return the full description of a named registered tool."` | Holds the lean `ToolInterface.summary` `createDescribeTool` advertises — this tool needs no teaching of its own, so its summary and description are both short. |
|
|
182
|
+
| `DESCRIBE_TOOL_DESCRIPTION` | const | `"Return the full description of a registered tool by its name. Required: name - the registered tool name (see another tool listing for available names). Arguments admit lossless repair alone: a text field accepts a finite number; any other mismatch is refused, and the refusal names every fault."` | Holds the description `createDescribeTool` advertises — the registered tool `name` it requires, and the full description of that tool it returns. |
|
|
183
|
+
| `PROMPT_TOOL_NAME` | const | `"ask"` | Holds the name `createPromptTool` advertises by default, `'ask'` — the key a model calls and the `ToolManagerInterface` (`@orkestrel/tool`) registers under. |
|
|
184
|
+
| `PROMPT_TOOL_SUMMARY` | const | `"Ask another terminal a multi-field form and BLOCK until it answers; the call resolves with the values record. Call describe('ask') for the schema."` | Holds the lean `ToolInterface.summary` `createPromptTool` advertises in place of `PROMPT_TOOL_DESCRIPTION` — one sentence offering the blocking multi-field ask and pointing at `describe` for the schema. |
|
|
185
|
+
| `PROMPT_TOOL_DESCRIPTION` | const | `string` | Holds the form protocol `createPromptTool` advertises — the required `to` and `schema`, how a field declares its control and its rules, and a worked example. |
|
|
186
|
+
| `ANSWER_TOOL_NAME` | const | `"answer"` | Holds the name `createAnswerTool` advertises by default, `'answer'` — the key a model calls and the `ToolManagerInterface` (`@orkestrel/tool`) registers under. |
|
|
187
|
+
| `ANSWER_TOOL_SUMMARY` | const | `"List forms addressed to this terminal, or answer one by id with a values record. Call describe('answer') for the required fields."` | Holds the lean `ToolInterface.summary` `createAnswerTool` advertises in place of `ANSWER_TOOL_DESCRIPTION` — one sentence offering the pending listing and the answer call, and pointing at `describe` for the fields each takes. |
|
|
188
|
+
| `ANSWER_TOOL_DESCRIPTION` | const | `string` | Holds the protocol `createAnswerTool` advertises — the `pending` and `answer` operations and the `values` record an answer supplies, each with a worked example. |
|
|
189
|
+
| `DATABASE_TOOL_NAME` | const | `"database"` | Holds the name `createDatabaseTool` advertises by default, `'database'` — the key a model calls and the `ToolManagerInterface` (`@orkestrel/tool`) registers under. |
|
|
190
|
+
| `DATABASE_TOOL_SUMMARY` | const | `"Create and query a database \u2014 one operation per call (create, tables, get, records, count, aggregate, add, set, update, remove, destroy), chosen by the 'operation' field. Every row and query value must match its column's declared type, and a refusal names every fault. Call describe('database') for the full operation list, the query form, and the column DSL."` | Holds the lean `ToolInterface.summary` `createDatabaseTool` advertises in place of `DATABASE_TOOL_DESCRIPTION` — one sentence offering the `operation`-keyed database call and pointing at `describe` for the operation list, the query form, and the column DSL. |
|
|
191
|
+
| `DATABASE_TOOL_DESCRIPTION` | const | `string` | Holds the description `createDatabaseTool` advertises — a multi-line guide that teaches a small model the operation list, the serialized query form, and the `TableSpec` column DSL. |
|
|
192
|
+
| `DATABASE_TOOL_LIMIT` | const | `1000` | Holds the default cap on rows a `records` call returns when the caller omits `query.limit`, `1000` — the database tool's default row ceiling. |
|
|
193
|
+
| `DATABASE_TOOL_MUTATIONS` | const | `readonly string[]` | Lists the runtime-frozen database-tool mutation names disabled by `DatabaseToolOptions.readonly`. |
|
|
194
|
+
| `RELATION_TOOL_NAME` | const | `"relation"` | Holds the name `createRelationTool` advertises by default, `'relation'` — the key a model calls and the `ToolManagerInterface` (`@orkestrel/tool`) registers under. |
|
|
195
|
+
| `RELATION_TOOL_SUMMARY` | const | `"Traverse and edit relationships between database rows \u2014 one operation per call (load, find, link, unlink, links), chosen by the 'operation' field. Call describe('relation') for the include-path syntax."` | Holds the lean `ToolInterface.summary` `createRelationTool` advertises in place of `RELATION_TOOL_DESCRIPTION` — one sentence offering the `operation`-keyed relationship traversal and pointing at `describe` for the include-path syntax. |
|
|
196
|
+
| `RELATION_TOOL_DESCRIPTION` | const | `string` | Holds the description `createRelationTool` advertises — a multi-line guide that teaches a small model the operation list and the flat dot-path `include` syntax. |
|
|
197
|
+
| `RELATION_TOOL_LIMIT` | const | `1000` | Holds the default cap on rows a `find` or `links` call returns when the caller omits `limit`, `1000` — the relation tool's default row ceiling. |
|
|
198
|
+
| `RELATION_TOOL_DEPTH` | const | `3` | Holds the default cap on how many `include` path segments deep a `load` or `find` call may traverse, `3` — the relation tool's default include-depth ceiling. |
|
|
199
|
+
| `INFER_TOOL_NAME` | const | `"infer"` | Holds the name `createInferTool` advertises by default, `'infer'` — the key a model calls and the `ToolManagerInterface` (`@orkestrel/tool`) registers under. |
|
|
200
|
+
| `INFER_TOOL_SUMMARY` | const | `"Infer a JSON Schema (as advertised tool parameters) from one or more example values. Call describe('infer') for the required fields."` | Holds the lean `ToolInterface.summary` `createInferTool` advertises in place of `INFER_TOOL_DESCRIPTION` — one sentence offering schema inference from example values and pointing at `describe` for the fields it takes. |
|
|
201
|
+
| `INFER_TOOL_DESCRIPTION` | const | `string` | Holds the schema-inference protocol `createInferTool` advertises — the required `samples`, the optional `format`, `enum`, and `candidates` arguments, and a worked example of the bare return and of the `candidates`-wrapped return. |
|
|
202
202
|
|
|
203
203
|
### Types
|
|
204
204
|
|
|
@@ -329,7 +329,7 @@ These invariants hold across `src/core` ↔ `toolbox.md`:
|
|
|
329
329
|
|
|
330
330
|
2. **One tool = one behavior; the runtime supplies the envelope, this package supplies the handler.** Each `create*Tool` factory returns a plain `ToolInterface` (`@orkestrel/tool`). Under AGENTS' narrow-untrusted-input-with-guards rule, malformed model-supplied `args` refuse before the handler acts, as a `ToolError` with code `ARGUMENTS` whose text says what to send and whose `context.faults` lists every fault (see [`tool.md`](tool.md)). The handler reads a typed value from the compiled [contract](contract.md), dispatches, and either returns a plain value on success or throws a typed error on every failure path — it never builds a `ToolResult` itself. Every refusal a model can read names the subject, what to send, and the candidates where there are some, encodes each untrusted identifier and candidate through `preview` (`renderCandidates`), and stays within 2048 characters: where a message joins parts this package cannot bound one by one, a head beside a report or an upstream error's text, `limitRefusal` caps the whole. A `WorkspaceError`, `WorkflowError`, or `AgentError` that passes through by identity carries its owner's text. The runtime supplies registry execution and result isolation; see [`tool.md`](tool.md). Through that registry, a failure's flattened message text appears exactly once, identically, over both the agent loop and MCP.
|
|
331
331
|
|
|
332
|
-
3. **Contract-compiled schemas throughout.** The workspace, answer, database, relation, agent, describe, prompt, and infer tools pass their shapes through `contract`, so the Tool door enforces the advertised schema. A union value selecting one operation reports that arm's faults and admits lossless leaf repairs: `find` with `limit: '5'` reaches the handler as `5`, while `'many'` names `limit` and `'0x10'` refuses. A value selecting no arm receives a bounded summary of alternatives. Handlers use `requireToolCall` to type the parsed arguments. The workflow tool advertises its flat schema through `parameters` and uses `strict: false` because its handler accepts several authoring forms; `resolveWorkflowTarget` applies the matching contract through `requireToolCall`.
|
|
332
|
+
3. **Contract-compiled schemas throughout.** The workspace, answer, database, relation, agent, describe, prompt, and infer tools pass their shapes through `contract`, so the Tool door enforces the advertised schema. A union value selecting one operation reports that arm's faults and admits lossless leaf repairs: `find` with `limit: '5'` reaches the handler as `5`, while `'many'` names `limit` and `'0x10'` refuses. A value selecting no arm receives a bounded summary of alternatives. Handlers use `requireToolCall` to type the parsed arguments; it admits through `@orkestrel/contract`'s `repairValue`, so it keeps the same lossless leaf repairs, and each tool description built on it states them. The workflow tool advertises its flat schema through `parameters` and uses `strict: false` because its handler accepts several authoring forms; `resolveWorkflowTarget` applies the matching contract through `requireToolCall`.
|
|
333
333
|
|
|
334
334
|
4. **Workflow/agent recursion is lineage-derived and contextually composed.** `WorkflowLineage` is a copied, frozen chain of nonempty unique tags, strictly alternating `workflow:` then `agent:`. Malformed configured lineage or a factory-incompatible final tag throws `ToolboxError('TOOL')`; runtime workflow mismatch, repeated workflow/agent id, or over-depth target throws `ToolboxError('DEPTH')` before agent, tool, or runner activity. Depth is zero-based and derived only from workflow-tag count minus one (empty/root is `0`): root plus eight nested workflows is allowed, the ninth nested workflow is rejected. `createWorkflowFunctions` is the sole composition engine: it snapshots opaque `functions`, rejects a marked `AgentFunction` supplied through that opaque channel, rejects function/agent key collisions, and contextually adapts raw `agents` for the exact target lineage. Its frozen registry has a null prototype, so the workflow runner's native bracket lookup cannot resolve unregistered inherited names such as `toString`, `constructor`, `valueOf`, `hasOwnProperty`, or `__proto__`; those remain genuine native `WorkflowError('TRANSITION')` failures. Opaque wrappers or spoofed metadata that hide their real agent behavior are not covered; hosts must not use them to share one live agent concurrently.
|
|
335
335
|
|
|
@@ -353,7 +353,7 @@ Before shape branching or property reads, the handler snapshots untrusted `args`
|
|
|
353
353
|
|
|
354
354
|
13. **The lean `summary` / full `description` split, and `createDescribeTool`'s expansion seam.** `createWorkflowTool`, `createWorkspaceTool`, and `createAgentTool` each set `ToolInterface.summary` (`@orkestrel/tool`) to a frozen one-sentence constant (`WORKFLOW_TOOL_SUMMARY` / `WORKSPACE_TOOL_SUMMARY` / `AGENT_TOOL_SUMMARY`) alongside their unchanged full teaching `description`; `ToolManagerInterface.definitions()` advertises `summary ?? description`, so a model sees the lean text by default. `createDescribeTool(tools)` is the on-demand expansion: given a registered `name`, it looks the tool up through `tools.tool(name)` and returns its full `tool.description` (falling back to `tool.summary`, then an explicit `null` when a tool has neither) — never truncated, never re-derived. An unknown `name` lists the registered names. Each summary's text points the model at `describe('<name>')` for the full schema. An `@orkestrel/agent` host holds teaching text and tools back through Agent's skills and its `load` built-in instead, which shows a skill's text and releases its tools when the model asks for it; see [Agent](agent.md) § Enabling the built-in tools.
|
|
355
355
|
|
|
356
|
-
14. **`createDatabaseTool` and `createRelationTool` are single-tool-many-operations, matching `createWorkspaceTool`'s shape.** `createDatabaseTool` dispatches `create` / `tables` / `get` / `records` / `count` / `aggregate` / `add` / `set` / `update` / `remove` / `destroy` off `databaseToolShape`; `createRelationTool` dispatches `load` / `find` / `link` / `unlink` / `links` off `relationToolShape`. Both set `ToolInterface.summary` (`DATABASE_TOOL_SUMMARY` / `RELATION_TOOL_SUMMARY`) alongside their full teaching `description`, retrievable through `createDescribeTool`, per invariant 13. Every `'get'` / `'add'` / `'set'` / `'update'` / `'remove'` and `'load'` operation's `key` field takes either a single key or an array of keys (AGENTS' batch overload mold, with the array form resolving first); a single-key call returns a singular result field (`row` / `key` / `updated`
|
|
356
|
+
14. **`createDatabaseTool` and `createRelationTool` are single-tool-many-operations, matching `createWorkspaceTool`'s shape.** `createDatabaseTool` dispatches `create` / `tables` / `get` / `records` / `count` / `aggregate` / `add` / `set` / `update` / `remove` / `destroy` off `databaseToolShape`; `createRelationTool` dispatches `load` / `find` / `link` / `unlink` / `links` off `relationToolShape`. Both set `ToolInterface.summary` (`DATABASE_TOOL_SUMMARY` / `RELATION_TOOL_SUMMARY`) alongside their full teaching `description`, retrievable through `createDescribeTool`, per invariant 13. Every `'get'` / `'add'` / `'set'` / `'update'` / `'remove'` and `'load'` operation's `key` field takes either a single key or an array of keys (AGENTS' batch overload mold, with the array form resolving first); a single-key call returns a singular result field (`row` / `key` / `updated`), and an array-key call returns the plural (`rows` / `keys` / `updated` as arrays). `'remove'` replies `{ removed }` in either form, one boolean that is `true` only when every listed key held a row, because `Table.remove` reports the batch as one boolean. A row a `'get'` or `'load'` misses is an explicit `null` in either form, where JSON would otherwise drop the key. The database tool's values stay strict: each value in a `row`, in `changes`, and in a condition's `values` must match its column's declared type, as `'tables'` reports, so `'36'` never fills an integer column. The database refuses a nonconforming write or query with `VALIDATION`, which the tool forwards as a `DATABASE` `ToolboxError` carrying `context.code`, and the message names every fault. The tool's descriptions state that strictness, and the `like` and `glob` wildcards.
|
|
357
357
|
|
|
358
358
|
15. **The database tool's query form is serialized, never fluent.** `databaseToolShape`'s `query` is a flat object — `{ conditions?: [{ column, operator, values, connector? }], order?, limit?, offset? }` — where `values` is always an array, even for a single-value operator (`{ column: 'age', operator: 'from', values: [18] }`), so a small model never chains method calls or guesses arity. `normalizeQuery` normalizes the parsed form into a live `@orkestrel/database` `QueryInput`, defaulting an omitted condition `connector` to `'and'` (the wire form lets a caller drop `connector` on the last condition, because it joins nothing forward).
|
|
359
359
|
|
|
@@ -885,10 +885,10 @@ restored?.id // 'audit'
|
|
|
885
885
|
|
|
886
886
|
Register a live relation manager and load a row with a nested dot-path `include` list:
|
|
887
887
|
|
|
888
|
-
The tool opens no transaction. `unlink` removes
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
888
|
+
The tool opens no transaction. `unlink` removes the pair's one junction row, the row `link` wrote
|
|
889
|
+
under the pair's computed key, through the manager's bound storage. A failed removal leaves the pair
|
|
890
|
+
linked, and `links` still lists the target. Repeat `unlink` to complete removal. To unlink several
|
|
891
|
+
pairs as one unit, build the manager with `createRelationManager({ storage, relations })`
|
|
892
892
|
inside the host's `database.transaction(async (storage) => ...)` callback and use its tool only
|
|
893
893
|
within that scope. Let the failure propagate out of the callback so the transaction rolls back.
|
|
894
894
|
|
|
@@ -890,7 +890,7 @@ result.workflow.results() // every settled task's TaskResult, lineage-navigable
|
|
|
890
890
|
|
|
891
891
|
A run refuses what it cannot do before any task starts, and the promise rejects with a `SCHEDULE` `WorkflowError`. The definition door refuses a key the contract does not declare, so a misspelt `behaviour` reports an `extra` fault at `phases.0.tasks.0.behaviour` in `context.faults` instead of running a no-op. A tree with no task refuses too: `createWorkflow({ id: 'w', name: 'W', phases: [] })` still builds so a caller can `add` to it, and a refused live workflow stays unclaimed, so a corrected call can drive the same object. The same door guards `createWorkflow` and `WorkflowManager.add`, which throw, and a live `add`, which returns a `MUTATION` failure. One refusal lists every fault and every undeclared key, and a definition whose reads change refuses as unreadable.
|
|
892
892
|
|
|
893
|
-
The door repairs a leaf the way `parse` does, so a definition's `timeout: '5'` enters as `5`. A run option is not a definition and gets no repair, so `execute(definition, { timeout: '5' })` refuses the same value.
|
|
893
|
+
The definition door admits through the `repairValue` function, which repairs a lossless leaf the way `parse` does, so a definition's `timeout: '5'` enters as `5`. A run option is not a definition and gets no repair, so `execute(definition, { timeout: '5' })` refuses the same value.
|
|
894
894
|
|
|
895
895
|
### The `bail` policy — graceful vs halt
|
|
896
896
|
|
|
@@ -1086,7 +1086,7 @@ phase.patch({ concurrency: 2 }) // throws MUTATION unless this phase is `pending
|
|
|
1086
1086
|
|
|
1087
1087
|
Every one of these is refused gracefully (a `MUTATION` `Result` failure, never a throw) when a definition or a patch fails its contract or a patch is empty, each with `context.faults` listing every fault, when the container is terminal / `destroyed`, the target does not exist or is not `pending`, or the position falls outside the pending suffix; a `running` phase accepts an `add` only as a pure append — a live runner subscribed to that phase's own `add` event picks the new task up for same-run execution.
|
|
1088
1088
|
|
|
1089
|
-
|
|
1089
|
+
The patch door admits through the `repairValue` function, as the definition door does, so a lossless type repair enters repaired: `workflow.update(phase.id, { concurrency: '4' })` applies `concurrency: 4`, so the phase's `concurrency` reads `4` afterwards. An undeclared key, a lossy repair such as `'4.5'` for an integer, and a value that cannot be read refuse with their faults.
|
|
1090
1090
|
|
|
1091
1091
|
### Building the live tree by hand — `append`
|
|
1092
1092
|
|
package/dist/host/manifest.json
CHANGED
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
"storage": "claude/agents/orkestrel.md",
|
|
629
629
|
"destination": ".claude/agents/orkestrel.md",
|
|
630
630
|
"executable": false,
|
|
631
|
-
"digest": "
|
|
631
|
+
"digest": "888f199f9b5ba273e554f1db961c45e3325c45284bb432065d07ea52dd3663b2"
|
|
632
632
|
},
|
|
633
633
|
{
|
|
634
634
|
"storage": "claude/agents/planner.md",
|
|
@@ -994,19 +994,19 @@
|
|
|
994
994
|
"storage": "guides/agent.md",
|
|
995
995
|
"destination": "guides/agent.md",
|
|
996
996
|
"executable": false,
|
|
997
|
-
"digest": "
|
|
997
|
+
"digest": "9985c8acc0c7debf976280b98735e7e071e49d9d8a248828e80223b20613e5f2"
|
|
998
998
|
},
|
|
999
999
|
{
|
|
1000
1000
|
"storage": "guides/brief.md",
|
|
1001
1001
|
"destination": "guides/brief.md",
|
|
1002
1002
|
"executable": false,
|
|
1003
|
-
"digest": "
|
|
1003
|
+
"digest": "86170e867caf9d33f06e6f8a734329ae38ef9ef1585606dc493f269be0658959"
|
|
1004
1004
|
},
|
|
1005
1005
|
{
|
|
1006
1006
|
"storage": "guides/browser.md",
|
|
1007
1007
|
"destination": "guides/browser.md",
|
|
1008
1008
|
"executable": false,
|
|
1009
|
-
"digest": "
|
|
1009
|
+
"digest": "cb79077f8e0df55e3eed41eb6636bcc732cb25b0e0e8be79f63a05c72445864c"
|
|
1010
1010
|
},
|
|
1011
1011
|
{
|
|
1012
1012
|
"storage": "guides/budget.md",
|
|
@@ -1048,7 +1048,7 @@
|
|
|
1048
1048
|
"storage": "guides/database.md",
|
|
1049
1049
|
"destination": "guides/database.md",
|
|
1050
1050
|
"executable": false,
|
|
1051
|
-
"digest": "
|
|
1051
|
+
"digest": "f6e19ac07185cab14342702d4e128d60e1bab85d593311af1045a1ab7b8b498a"
|
|
1052
1052
|
},
|
|
1053
1053
|
{
|
|
1054
1054
|
"storage": "guides/emitter.md",
|
|
@@ -1180,7 +1180,7 @@
|
|
|
1180
1180
|
"storage": "guides/reason.md",
|
|
1181
1181
|
"destination": "guides/reason.md",
|
|
1182
1182
|
"executable": false,
|
|
1183
|
-
"digest": "
|
|
1183
|
+
"digest": "768ee916f2931219be0e8d69610d4037530b7edbbf33f5a77aa3e4b4bcb816cb"
|
|
1184
1184
|
},
|
|
1185
1185
|
{
|
|
1186
1186
|
"storage": "guides/relation.md",
|
|
@@ -1264,13 +1264,13 @@
|
|
|
1264
1264
|
"storage": "guides/tool.md",
|
|
1265
1265
|
"destination": "guides/tool.md",
|
|
1266
1266
|
"executable": false,
|
|
1267
|
-
"digest": "
|
|
1267
|
+
"digest": "1a6baa0dbd4bf96d676a54820e168b04d605acf10f7cd494c66e645085f4f648"
|
|
1268
1268
|
},
|
|
1269
1269
|
{
|
|
1270
1270
|
"storage": "guides/toolbox.md",
|
|
1271
1271
|
"destination": "guides/toolbox.md",
|
|
1272
1272
|
"executable": false,
|
|
1273
|
-
"digest": "
|
|
1273
|
+
"digest": "220541231fd071268ab3d58c1a83ccbbd06f35fa3574007bce2239724f258e9d"
|
|
1274
1274
|
},
|
|
1275
1275
|
{
|
|
1276
1276
|
"storage": "guides/websocket.md",
|
|
@@ -1288,7 +1288,7 @@
|
|
|
1288
1288
|
"storage": "guides/workflow.md",
|
|
1289
1289
|
"destination": "guides/workflow.md",
|
|
1290
1290
|
"executable": false,
|
|
1291
|
-
"digest": "
|
|
1291
|
+
"digest": "325bb83cf2a30b3189703d26695f73ab5f3aebd074e1f8002af6a2d58b2af60f"
|
|
1292
1292
|
},
|
|
1293
1293
|
{
|
|
1294
1294
|
"storage": "guides/workspace.md",
|
|
@@ -1417,5 +1417,5 @@
|
|
|
1417
1417
|
"scripts"
|
|
1418
1418
|
],
|
|
1419
1419
|
"surface": [],
|
|
1420
|
-
"digest": "
|
|
1420
|
+
"digest": "81c6ca1d8161422d27bf430a38f65129cea8d35333a3f62bcfe167f6f8f66f4a"
|
|
1421
1421
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/host/scripts/npm.sh
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/src/core/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ let _orkestrel_template = require("@orkestrel/template");
|
|
|
4
4
|
let _orkestrel_emitter = require("@orkestrel/emitter");
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@orkestrel/scaffold",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.137",
|
|
8
8
|
description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
|
|
9
9
|
keywords: [
|
|
10
10
|
"audit",
|
|
@@ -96,20 +96,20 @@ var package_default = {
|
|
|
96
96
|
"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:templates && npm run test:distribution -- --mode release"
|
|
97
97
|
},
|
|
98
98
|
dependencies: {
|
|
99
|
-
"@orkestrel/console": "^0.0.
|
|
99
|
+
"@orkestrel/console": "^0.0.21",
|
|
100
100
|
"@orkestrel/contract": "^0.0.24",
|
|
101
|
-
"@orkestrel/emitter": "^0.0.
|
|
102
|
-
"@orkestrel/markdown": "^0.0.
|
|
103
|
-
"@orkestrel/process": "^0.0.
|
|
104
|
-
"@orkestrel/template": "^0.0.
|
|
101
|
+
"@orkestrel/emitter": "^0.0.17",
|
|
102
|
+
"@orkestrel/markdown": "^0.0.22",
|
|
103
|
+
"@orkestrel/process": "^0.0.20",
|
|
104
|
+
"@orkestrel/template": "^0.0.15"
|
|
105
105
|
},
|
|
106
106
|
devDependencies: {
|
|
107
107
|
"@microsoft/api-extractor": "^7.60.1",
|
|
108
|
-
"@orkestrel/browser": "^0.0.
|
|
109
|
-
"@orkestrel/guide": "^0.0.
|
|
110
|
-
"@orkestrel/html": "^0.0.
|
|
111
|
-
"@orkestrel/probe": "^0.0.
|
|
112
|
-
"@orkestrel/test": "^0.0.
|
|
108
|
+
"@orkestrel/browser": "^0.0.34",
|
|
109
|
+
"@orkestrel/guide": "^0.0.32",
|
|
110
|
+
"@orkestrel/html": "^0.0.17",
|
|
111
|
+
"@orkestrel/probe": "^0.0.31",
|
|
112
|
+
"@orkestrel/test": "^0.0.40",
|
|
113
113
|
"@types/node": "^24.19.2",
|
|
114
114
|
"@vitest/browser-playwright": "^5.1.0",
|
|
115
115
|
"oxfmt": "^0.78.0",
|
package/dist/src/core/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { fillTemplate } from "@orkestrel/template";
|
|
|
3
3
|
import { Emitter } from "@orkestrel/emitter";
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@orkestrel/scaffold",
|
|
6
|
-
version: "0.0.
|
|
6
|
+
version: "0.0.137",
|
|
7
7
|
description: "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
|
|
8
8
|
keywords: [
|
|
9
9
|
"audit",
|
|
@@ -95,20 +95,20 @@ var package_default = {
|
|
|
95
95
|
"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:templates && npm run test:distribution -- --mode release"
|
|
96
96
|
},
|
|
97
97
|
dependencies: {
|
|
98
|
-
"@orkestrel/console": "^0.0.
|
|
98
|
+
"@orkestrel/console": "^0.0.21",
|
|
99
99
|
"@orkestrel/contract": "^0.0.24",
|
|
100
|
-
"@orkestrel/emitter": "^0.0.
|
|
101
|
-
"@orkestrel/markdown": "^0.0.
|
|
102
|
-
"@orkestrel/process": "^0.0.
|
|
103
|
-
"@orkestrel/template": "^0.0.
|
|
100
|
+
"@orkestrel/emitter": "^0.0.17",
|
|
101
|
+
"@orkestrel/markdown": "^0.0.22",
|
|
102
|
+
"@orkestrel/process": "^0.0.20",
|
|
103
|
+
"@orkestrel/template": "^0.0.15"
|
|
104
104
|
},
|
|
105
105
|
devDependencies: {
|
|
106
106
|
"@microsoft/api-extractor": "^7.60.1",
|
|
107
|
-
"@orkestrel/browser": "^0.0.
|
|
108
|
-
"@orkestrel/guide": "^0.0.
|
|
109
|
-
"@orkestrel/html": "^0.0.
|
|
110
|
-
"@orkestrel/probe": "^0.0.
|
|
111
|
-
"@orkestrel/test": "^0.0.
|
|
107
|
+
"@orkestrel/browser": "^0.0.34",
|
|
108
|
+
"@orkestrel/guide": "^0.0.32",
|
|
109
|
+
"@orkestrel/html": "^0.0.17",
|
|
110
|
+
"@orkestrel/probe": "^0.0.31",
|
|
111
|
+
"@orkestrel/test": "^0.0.40",
|
|
112
112
|
"@types/node": "^24.19.2",
|
|
113
113
|
"@vitest/browser-playwright": "^5.1.0",
|
|
114
114
|
"oxfmt": "^0.78.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orkestrel/scaffold",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.137",
|
|
4
4
|
"description": "Scaffold workspaces with commands: new, audit, surface, repair, catalog, and overwrite.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"audit",
|
|
@@ -99,20 +99,20 @@
|
|
|
99
99
|
"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:templates && npm run test:distribution -- --mode release"
|
|
100
100
|
},
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@orkestrel/console": "^0.0.
|
|
102
|
+
"@orkestrel/console": "^0.0.21",
|
|
103
103
|
"@orkestrel/contract": "^0.0.24",
|
|
104
|
-
"@orkestrel/emitter": "^0.0.
|
|
105
|
-
"@orkestrel/markdown": "^0.0.
|
|
106
|
-
"@orkestrel/process": "^0.0.
|
|
107
|
-
"@orkestrel/template": "^0.0.
|
|
104
|
+
"@orkestrel/emitter": "^0.0.17",
|
|
105
|
+
"@orkestrel/markdown": "^0.0.22",
|
|
106
|
+
"@orkestrel/process": "^0.0.20",
|
|
107
|
+
"@orkestrel/template": "^0.0.15"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@microsoft/api-extractor": "^7.60.1",
|
|
111
|
-
"@orkestrel/browser": "^0.0.
|
|
112
|
-
"@orkestrel/guide": "^0.0.
|
|
113
|
-
"@orkestrel/html": "^0.0.
|
|
114
|
-
"@orkestrel/probe": "^0.0.
|
|
115
|
-
"@orkestrel/test": "^0.0.
|
|
111
|
+
"@orkestrel/browser": "^0.0.34",
|
|
112
|
+
"@orkestrel/guide": "^0.0.32",
|
|
113
|
+
"@orkestrel/html": "^0.0.17",
|
|
114
|
+
"@orkestrel/probe": "^0.0.31",
|
|
115
|
+
"@orkestrel/test": "^0.0.40",
|
|
116
116
|
"@types/node": "^24.19.2",
|
|
117
117
|
"@vitest/browser-playwright": "^5.1.0",
|
|
118
118
|
"oxfmt": "^0.78.0",
|