@vurb/core 3.2.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/README.md +677 -677
  2. package/dist/cli/constants.js +58 -58
  3. package/dist/cli/templates/config.js +26 -26
  4. package/dist/cli/templates/core.js +168 -168
  5. package/dist/cli/templates/middleware.js +25 -25
  6. package/dist/cli/templates/presenter.js +1 -1
  7. package/dist/cli/templates/presenter.js.map +1 -1
  8. package/dist/cli/templates/prompt.js +1 -1
  9. package/dist/cli/templates/prompt.js.map +1 -1
  10. package/dist/cli/templates/readme.js +142 -142
  11. package/dist/cli/templates/testing.js +84 -84
  12. package/dist/cli/templates/tools.js +46 -46
  13. package/dist/cli/templates/vectors/database.js +69 -69
  14. package/dist/cli/templates/vectors/oauth.js +63 -63
  15. package/dist/cli/templates/vectors/openapi.js +97 -97
  16. package/dist/cli/templates/vectors/workflow.js +1 -1
  17. package/dist/cli/templates/vectors/workflow.js.map +1 -1
  18. package/dist/client/createTypedRegistry.js +1 -1
  19. package/dist/converters/ConverterBase.d.ts +1 -1
  20. package/dist/converters/ConverterBase.js +1 -1
  21. package/dist/core/StandardSchema.d.ts +1 -1
  22. package/dist/core/StandardSchema.js +1 -1
  23. package/dist/core/builder/GroupedToolBuilder.d.ts +2 -2
  24. package/dist/core/builder/GroupedToolBuilder.js +2 -2
  25. package/dist/core/builder/defineTool.d.ts +1 -1
  26. package/dist/core/builder/defineTool.js +1 -1
  27. package/dist/core/createGroup.d.ts +1 -1
  28. package/dist/core/createGroup.js +1 -1
  29. package/dist/core/initVurb.d.ts +1 -1
  30. package/dist/core/initVurb.js +1 -1
  31. package/dist/core/registry/ToolRegistry.d.ts +1 -1
  32. package/dist/core/registry/ToolRegistry.js +1 -1
  33. package/dist/core/response.d.ts +1 -1
  34. package/dist/core/response.js +1 -1
  35. package/dist/core/result.d.ts +1 -1
  36. package/dist/core/result.js +1 -1
  37. package/dist/domain/Annotations.d.ts +1 -1
  38. package/dist/domain/Icon.d.ts +1 -1
  39. package/dist/domain/Prompt.d.ts +1 -1
  40. package/dist/domain/Prompt.js +1 -1
  41. package/dist/domain/PromptArgument.d.ts +1 -1
  42. package/dist/domain/PromptArgument.js +1 -1
  43. package/dist/domain/Resource.d.ts +1 -1
  44. package/dist/domain/Resource.js +1 -1
  45. package/dist/domain/Role.d.ts +1 -1
  46. package/dist/domain/Role.js +1 -1
  47. package/dist/domain/Tool.d.ts +1 -1
  48. package/dist/domain/Tool.js +1 -1
  49. package/dist/domain/ToolAnnotations.d.ts +1 -1
  50. package/dist/fsm/StateMachineGate.d.ts +1 -1
  51. package/dist/fsm/StateMachineGate.js +1 -1
  52. package/dist/introspection/GovernanceObserver.d.ts +1 -1
  53. package/dist/introspection/GovernanceObserver.js +1 -1
  54. package/dist/introspection/SemanticProbe.js +49 -49
  55. package/dist/observability/DebugObserver.d.ts +1 -1
  56. package/dist/observability/DebugObserver.js +1 -1
  57. package/dist/presenter/Presenter.d.ts +4 -4
  58. package/dist/presenter/Presenter.js +3 -3
  59. package/dist/presenter/ResponseBuilder.d.ts +2 -2
  60. package/dist/presenter/ResponseBuilder.js +2 -2
  61. package/dist/presenter/definePresenter.d.ts +1 -1
  62. package/dist/presenter/definePresenter.js +1 -1
  63. package/dist/presenter/suggest.d.ts +1 -1
  64. package/dist/presenter/suggest.js +1 -1
  65. package/dist/presenter/typeHelpers.d.ts +1 -1
  66. package/dist/presenter/typeHelpers.js +1 -1
  67. package/dist/presenter/ui.d.ts +2 -2
  68. package/dist/presenter/ui.js +2 -2
  69. package/dist/prompt/FluentPromptBuilder.d.ts.map +1 -1
  70. package/dist/prompt/PromptMessage.d.ts +2 -2
  71. package/dist/prompt/PromptMessage.js +2 -2
  72. package/dist/prompt/PromptRegistry.d.ts +1 -1
  73. package/dist/prompt/PromptRegistry.js +1 -1
  74. package/dist/server/DevServer.d.ts +1 -1
  75. package/dist/server/DevServer.js +1 -1
  76. package/dist/server/autoDiscover.js +1 -1
  77. package/dist/server/startServer.d.ts +1 -1
  78. package/dist/server/startServer.js +1 -1
  79. package/dist/testing/MvaMetaSymbol.d.ts +1 -1
  80. package/dist/testing/MvaMetaSymbol.js +1 -1
  81. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { ToolRegistry, createTool, success } from 'vurb';
9
+ * import { ToolRegistry, createTool, success } from '@vurb/core';
10
10
  *
11
11
  * const registry = new ToolRegistry<AppContext>();
12
12
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { success, error, toonSuccess } from 'vurb';
9
+ * import { success, error, toonSuccess } from '@vurb/core';
10
10
  *
11
11
  * // String response
12
12
  * return success('Project created');
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { success, error, toonSuccess } from 'vurb';
9
+ * import { success, error, toonSuccess } from '@vurb/core';
10
10
  *
11
11
  * // String response
12
12
  * return success('Project created');
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * @example
11
11
  * ```typescript
12
- * import { succeed, fail, error, type Result } from 'vurb';
12
+ * import { succeed, fail, error, type Result } from '@vurb/core';
13
13
  *
14
14
  * function parseId(input: string): Result<number> {
15
15
  * const id = parseInt(input, 10);
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * @example
11
11
  * ```typescript
12
- * import { succeed, fail, error, type Result } from 'vurb';
12
+ * import { succeed, fail, error, type Result } from '@vurb/core';
13
13
  *
14
14
  * function parseId(input: string): Result<number> {
15
15
  * const id = parseInt(input, 10);
@@ -7,7 +7,7 @@ import { type Role } from './Role.js';
7
7
  *
8
8
  * @example
9
9
  * ```typescript
10
- * import { createAnnotations, Role } from 'vurb';
10
+ * import { createAnnotations, Role } from '@vurb/core';
11
11
  *
12
12
  * const annotations = createAnnotations({
13
13
  * audience: [Role.ASSISTANT],
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { createIcon } from 'vurb';
9
+ * import { createIcon } from '@vurb/core';
10
10
  *
11
11
  * const icon = createIcon({
12
12
  * src: 'https://example.com/icon.png',
@@ -9,7 +9,7 @@ import { type PromptArgument } from './PromptArgument.js';
9
9
  *
10
10
  * @example
11
11
  * ```typescript
12
- * import { Prompt, PromptArgument } from 'vurb';
12
+ * import { Prompt, PromptArgument } from '@vurb/core';
13
13
  *
14
14
  * const prompt = new Prompt('generate_summary');
15
15
  * prompt.description = 'Generate a summary of the given text';
@@ -10,7 +10,7 @@ import { removeFromArray } from './utils.js';
10
10
  *
11
11
  * @example
12
12
  * ```typescript
13
- * import { Prompt, PromptArgument } from 'vurb';
13
+ * import { Prompt, PromptArgument } from '@vurb/core';
14
14
  *
15
15
  * const prompt = new Prompt('generate_summary');
16
16
  * prompt.description = 'Generate a summary of the given text';
@@ -4,7 +4,7 @@ import { BaseModel } from './BaseModel.js';
4
4
  *
5
5
  * @example
6
6
  * ```typescript
7
- * import { PromptArgument } from 'vurb';
7
+ * import { PromptArgument } from '@vurb/core';
8
8
  *
9
9
  * const arg = new PromptArgument('text');
10
10
  * arg.required = true;
@@ -4,7 +4,7 @@ import { BaseModel } from './BaseModel.js';
4
4
  *
5
5
  * @example
6
6
  * ```typescript
7
- * import { PromptArgument } from 'vurb';
7
+ * import { PromptArgument } from '@vurb/core';
8
8
  *
9
9
  * const arg = new PromptArgument('text');
10
10
  * arg.required = true;
@@ -8,7 +8,7 @@ import { GroupItem } from './GroupItem.js';
8
8
  *
9
9
  * @example
10
10
  * ```typescript
11
- * import { Resource, createAnnotations, Role } from 'vurb';
11
+ * import { Resource, createAnnotations, Role } from '@vurb/core';
12
12
  *
13
13
  * const resource = new Resource('config');
14
14
  * resource.uri = 'file:///etc/app/config.json';
@@ -8,7 +8,7 @@ import { GroupItem } from './GroupItem.js';
8
8
  *
9
9
  * @example
10
10
  * ```typescript
11
- * import { Resource, createAnnotations, Role } from 'vurb';
11
+ * import { Resource, createAnnotations, Role } from '@vurb/core';
12
12
  *
13
13
  * const resource = new Resource('config');
14
14
  * resource.uri = 'file:///etc/app/config.json';
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { Role, createAnnotations } from 'vurb';
9
+ * import { Role, createAnnotations } from '@vurb/core';
10
10
  *
11
11
  * const annotations = createAnnotations({
12
12
  * audience: [Role.USER, Role.ASSISTANT],
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { Role, createAnnotations } from 'vurb';
9
+ * import { Role, createAnnotations } from '@vurb/core';
10
10
  *
11
11
  * const annotations = createAnnotations({
12
12
  * audience: [Role.USER, Role.ASSISTANT],
@@ -9,7 +9,7 @@ import { GroupItem } from './GroupItem.js';
9
9
  *
10
10
  * @example
11
11
  * ```typescript
12
- * import { Tool, createToolAnnotations } from 'vurb';
12
+ * import { Tool, createToolAnnotations } from '@vurb/core';
13
13
  *
14
14
  * const tool = new Tool('read_file');
15
15
  * tool.title = 'Read File';
@@ -9,7 +9,7 @@ import { GroupItem } from './GroupItem.js';
9
9
  *
10
10
  * @example
11
11
  * ```typescript
12
- * import { Tool, createToolAnnotations } from 'vurb';
12
+ * import { Tool, createToolAnnotations } from '@vurb/core';
13
13
  *
14
14
  * const tool = new Tool('read_file');
15
15
  * tool.title = 'Read File';
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { createToolAnnotations } from 'vurb';
9
+ * import { createToolAnnotations } from '@vurb/core';
10
10
  *
11
11
  * const annotations = createToolAnnotations({
12
12
  * title: 'File Reader',
@@ -134,7 +134,7 @@ export declare function resetXStateCache(): void;
134
134
  *
135
135
  * @example
136
136
  * ```typescript
137
- * import { initFsmEngine } from 'vurb';
137
+ * import { initFsmEngine } from '@vurb/core';
138
138
  * const available = await initFsmEngine();
139
139
  * if (!available) console.warn('xstate not installed — FSM gating disabled');
140
140
  * ```
@@ -97,7 +97,7 @@ export function resetXStateCache() {
97
97
  *
98
98
  * @example
99
99
  * ```typescript
100
- * import { initFsmEngine } from 'vurb';
100
+ * import { initFsmEngine } from '@vurb/core';
101
101
  * const available = await initFsmEngine();
102
102
  * if (!available) console.warn('xstate not installed — FSM gating disabled');
103
103
  * ```
@@ -65,7 +65,7 @@ export interface GovernanceObserver {
65
65
  * @example
66
66
  * ```typescript
67
67
  * import { createGovernanceObserver } from 'vurb/introspection';
68
- * import { createDebugObserver } from 'vurb';
68
+ * import { createDebugObserver } from '@vurb/core';
69
69
  *
70
70
  * const observer = createGovernanceObserver({
71
71
  * debug: createDebugObserver(),
@@ -9,7 +9,7 @@ import { SpanStatusCode } from '../observability/Tracing.js';
9
9
  * @example
10
10
  * ```typescript
11
11
  * import { createGovernanceObserver } from 'vurb/introspection';
12
- * import { createDebugObserver } from 'vurb';
12
+ * import { createDebugObserver } from '@vurb/core';
13
13
  *
14
14
  * const observer = createGovernanceObserver({
15
15
  * debug: createDebugObserver(),
@@ -62,57 +62,57 @@ export function createProbe(toolName, actionKey, input, expectedOutput, actualOu
62
62
  * @returns Complete evaluation prompt
63
63
  */
64
64
  export function buildJudgePrompt(probe) {
65
- return `You are a semantic evaluation judge for an MCP (Model Context Protocol) tool.
66
-
67
- Your task is to compare two outputs from the same tool handler and determine:
68
- 1. Whether they are semantically equivalent
69
- 2. Whether the current output violates the tool's behavioral contract
70
-
71
- ## Tool Information
72
- - **Tool**: ${probe.toolName}
73
- - **Action**: ${probe.actionKey}
74
- - **Description**: ${probe.contractContext.description ?? 'No description'}
75
- - **Read-Only**: ${probe.contractContext.readOnly}
76
- - **Destructive**: ${probe.contractContext.destructive}
77
-
78
- ## Behavioral Contract
65
+ return `You are a semantic evaluation judge for an MCP (Model Context Protocol) tool.
66
+
67
+ Your task is to compare two outputs from the same tool handler and determine:
68
+ 1. Whether they are semantically equivalent
69
+ 2. Whether the current output violates the tool's behavioral contract
70
+
71
+ ## Tool Information
72
+ - **Tool**: ${probe.toolName}
73
+ - **Action**: ${probe.actionKey}
74
+ - **Description**: ${probe.contractContext.description ?? 'No description'}
75
+ - **Read-Only**: ${probe.contractContext.readOnly}
76
+ - **Destructive**: ${probe.contractContext.destructive}
77
+
78
+ ## Behavioral Contract
79
79
  ${probe.contractContext.systemRules.length > 0
80
80
  ? `### System Rules\n${probe.contractContext.systemRules.map((r, i) => `${i + 1}. ${r}`).join('\n')}`
81
- : 'No system rules declared.'}
82
-
83
- ### Expected Output Schema Fields
84
- ${probe.contractContext.schemaKeys.join(', ') || 'No schema declared'}
85
-
86
- ## Input Arguments
87
- \`\`\`json
88
- ${JSON.stringify(probe.input, null, 2)}
89
- \`\`\`
90
-
91
- ## Expected Output (Baseline)
92
- \`\`\`json
93
- ${JSON.stringify(probe.expectedOutput, null, 2)}
94
- \`\`\`
95
-
96
- ## Actual Output (Current)
97
- \`\`\`json
98
- ${JSON.stringify(probe.actualOutput, null, 2)}
99
- \`\`\`
100
-
101
- ## Evaluation Instructions
102
- Compare the Expected Output with the Actual Output. Consider:
103
- - Are the outputs semantically equivalent (same meaning, even if format differs)?
104
- - Does the Actual Output violate any system rules?
105
- - Does the Actual Output return fields not in the expected schema?
106
- - Has the behavior meaningfully changed from the baseline?
107
-
108
- Respond with ONLY a JSON object in this exact format:
109
- \`\`\`json
110
- {
111
- "similarityScore": <number 0.0-1.0>,
112
- "contractViolated": <boolean>,
113
- "violations": [<string descriptions of violations>],
114
- "reasoning": "<brief explanation of your assessment>"
115
- }
81
+ : 'No system rules declared.'}
82
+
83
+ ### Expected Output Schema Fields
84
+ ${probe.contractContext.schemaKeys.join(', ') || 'No schema declared'}
85
+
86
+ ## Input Arguments
87
+ \`\`\`json
88
+ ${JSON.stringify(probe.input, null, 2)}
89
+ \`\`\`
90
+
91
+ ## Expected Output (Baseline)
92
+ \`\`\`json
93
+ ${JSON.stringify(probe.expectedOutput, null, 2)}
94
+ \`\`\`
95
+
96
+ ## Actual Output (Current)
97
+ \`\`\`json
98
+ ${JSON.stringify(probe.actualOutput, null, 2)}
99
+ \`\`\`
100
+
101
+ ## Evaluation Instructions
102
+ Compare the Expected Output with the Actual Output. Consider:
103
+ - Are the outputs semantically equivalent (same meaning, even if format differs)?
104
+ - Does the Actual Output violate any system rules?
105
+ - Does the Actual Output return fields not in the expected schema?
106
+ - Has the behavior meaningfully changed from the baseline?
107
+
108
+ Respond with ONLY a JSON object in this exact format:
109
+ \`\`\`json
110
+ {
111
+ "similarityScore": <number 0.0-1.0>,
112
+ "contractViolated": <boolean>,
113
+ "violations": [<string descriptions of violations>],
114
+ "reasoning": "<brief explanation of your assessment>"
115
+ }
116
116
  \`\`\``;
117
117
  }
118
118
  /**
@@ -13,7 +13,7 @@
13
13
  *
14
14
  * @example
15
15
  * ```typescript
16
- * import { createDebugObserver } from 'vurb';
16
+ * import { createDebugObserver } from '@vurb/core';
17
17
  *
18
18
  * // Default: pretty console.debug output
19
19
  * const debug = createDebugObserver();
@@ -13,7 +13,7 @@
13
13
  *
14
14
  * @example
15
15
  * ```typescript
16
- * import { createDebugObserver } from 'vurb';
16
+ * import { createDebugObserver } from '@vurb/core';
17
17
  *
18
18
  * // Default: pretty console.debug output
19
19
  * const debug = createDebugObserver();
@@ -18,7 +18,7 @@
18
18
  *
19
19
  * @example
20
20
  * ```typescript
21
- * import { createPresenter, ui } from 'vurb';
21
+ * import { createPresenter, ui } from '@vurb/core';
22
22
  * import { z } from 'zod';
23
23
  *
24
24
  * export const InvoicePresenter = createPresenter('Invoice')
@@ -151,7 +151,7 @@ export declare class Presenter<T> {
151
151
  *
152
152
  * @example
153
153
  * ```typescript
154
- * import { createPresenter, t } from 'vurb';
154
+ * import { createPresenter, t } from '@vurb/core';
155
155
  *
156
156
  * createPresenter('Invoice')
157
157
  * .schema({
@@ -281,7 +281,7 @@ export declare class Presenter<T> {
281
281
  *
282
282
  * @example
283
283
  * ```typescript
284
- * import { suggest } from 'vurb';
284
+ * import { suggest } from '@vurb/core';
285
285
  *
286
286
  * .suggest((inv) => [
287
287
  * suggest('invoices.get', 'View details'),
@@ -560,7 +560,7 @@ export declare class Presenter<T> {
560
560
  *
561
561
  * @example
562
562
  * ```typescript
563
- * import { createPresenter, ui } from 'vurb';
563
+ * import { createPresenter, ui } from '@vurb/core';
564
564
  *
565
565
  * export const TaskPresenter = createPresenter('Task')
566
566
  * .schema(taskSchema)
@@ -18,7 +18,7 @@
18
18
  *
19
19
  * @example
20
20
  * ```typescript
21
- * import { createPresenter, ui } from 'vurb';
21
+ * import { createPresenter, ui } from '@vurb/core';
22
22
  * import { z } from 'zod';
23
23
  *
24
24
  * export const InvoicePresenter = createPresenter('Invoice')
@@ -283,7 +283,7 @@ export class Presenter {
283
283
  *
284
284
  * @example
285
285
  * ```typescript
286
- * import { suggest } from 'vurb';
286
+ * import { suggest } from '@vurb/core';
287
287
  *
288
288
  * .suggest((inv) => [
289
289
  * suggest('invoices.get', 'View details'),
@@ -752,7 +752,7 @@ export class Presenter {
752
752
  *
753
753
  * @example
754
754
  * ```typescript
755
- * import { createPresenter, ui } from 'vurb';
755
+ * import { createPresenter, ui } from '@vurb/core';
756
756
  *
757
757
  * export const TaskPresenter = createPresenter('Task')
758
758
  * .schema(taskSchema)
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * @example
13
13
  * ```typescript
14
- * import { response, ui } from 'vurb';
14
+ * import { response, ui } from '@vurb/core';
15
15
  *
16
16
  * // Simple data response (equivalent to success())
17
17
  * return response({ id: '123', amount: 4500 }).build();
@@ -238,7 +238,7 @@ export declare class ResponseBuilder {
238
238
  *
239
239
  * @example
240
240
  * ```typescript
241
- * import { response, ui } from 'vurb';
241
+ * import { response, ui } from '@vurb/core';
242
242
  *
243
243
  * // Simple (equivalent to success())
244
244
  * return response('Task created').build();
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * @example
13
13
  * ```typescript
14
- * import { response, ui } from 'vurb';
14
+ * import { response, ui } from '@vurb/core';
15
15
  *
16
16
  * // Simple data response (equivalent to success())
17
17
  * return response({ id: '123', amount: 4500 }).build();
@@ -314,7 +314,7 @@ export class ResponseBuilder {
314
314
  *
315
315
  * @example
316
316
  * ```typescript
317
- * import { response, ui } from 'vurb';
317
+ * import { response, ui } from '@vurb/core';
318
318
  *
319
319
  * // Simple (equivalent to success())
320
320
  * return response('Task created').build();
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * @example
13
13
  * ```typescript
14
- * import { definePresenter, ui } from 'vurb';
14
+ * import { definePresenter, ui } from '@vurb/core';
15
15
  * import { z } from 'zod';
16
16
  *
17
17
  * export const InvoicePresenter = definePresenter({
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * @example
13
13
  * ```typescript
14
- * import { definePresenter, ui } from 'vurb';
14
+ * import { definePresenter, ui } from '@vurb/core';
15
15
  * import { z } from 'zod';
16
16
  *
17
17
  * export const InvoicePresenter = definePresenter({
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { suggest } from 'vurb';
9
+ * import { suggest } from '@vurb/core';
10
10
  *
11
11
  * .suggest((invoice) => [
12
12
  * suggest('invoices.get', 'View invoice details'),
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @example
8
8
  * ```typescript
9
- * import { suggest } from 'vurb';
9
+ * import { suggest } from '@vurb/core';
10
10
  *
11
11
  * .suggest((invoice) => [
12
12
  * suggest('invoices.get', 'View invoice details'),
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * @example
13
13
  * ```typescript
14
- * import { createPresenter, t, ui } from 'vurb';
14
+ * import { createPresenter, t, ui } from '@vurb/core';
15
15
  *
16
16
  * const InvoicePresenter = createPresenter('Invoice')
17
17
  * .schema({
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * @example
13
13
  * ```typescript
14
- * import { createPresenter, t, ui } from 'vurb';
14
+ * import { createPresenter, t, ui } from '@vurb/core';
15
15
  *
16
16
  * const InvoicePresenter = createPresenter('Invoice')
17
17
  * .schema({
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * @example
13
13
  * ```typescript
14
- * import { ui } from 'vurb';
14
+ * import { ui } from '@vurb/core';
15
15
  *
16
16
  * ui.echarts({ title: { text: 'Burndown' }, series: [...] });
17
17
  * ui.mermaid('graph TD; A-->B');
@@ -175,7 +175,7 @@ declare function summary(text: string): UiBlock;
175
175
  *
176
176
  * @example
177
177
  * ```typescript
178
- * import { ui } from 'vurb';
178
+ * import { ui } from '@vurb/core';
179
179
  *
180
180
  * // Quick table from arrays
181
181
  * ui.table(['Name', 'Status'], [['Alice', 'Active'], ['Bob', 'Inactive']]);
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * @example
13
13
  * ```typescript
14
- * import { ui } from 'vurb';
14
+ * import { ui } from '@vurb/core';
15
15
  *
16
16
  * ui.echarts({ title: { text: 'Burndown' }, series: [...] });
17
17
  * ui.mermaid('graph TD; A-->B');
@@ -197,7 +197,7 @@ function summary(text) {
197
197
  *
198
198
  * @example
199
199
  * ```typescript
200
- * import { ui } from 'vurb';
200
+ * import { ui } from '@vurb/core';
201
201
  *
202
202
  * // Quick table from arrays
203
203
  * ui.table(['Name', 'Status'], [['Alice', 'Active'], ['Bob', 'Inactive']]);
@@ -1 +1 @@
1
- {"version":3,"file":"FluentPromptBuilder.d.ts","sourceRoot":"","sources":["../../src/prompt/FluentPromptBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,KAAK,CAAC;AACvD,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,eAAe,EACvB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAOrD;;;;;;;;;GASG;AACH,qBAAa,mBAAmB,CAAC,QAAQ,GAAG,IAAI,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAA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d,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM,GAAG,SAAS;IAIpC,OAAO,IAAI,MAAM,EAAE;IAInB,aAAa,IAAI,OAAO;IAIxB,mBAAmB,IAAI,MAAM,GAAG,SAAS;IAIzC,qBAAqB;;;;;uBAQ43J,CAAC;oBAA8B,CAAC;;;IAJj7J,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC;CAG9E"}
@@ -10,7 +10,7 @@
10
10
  *
11
11
  * @example
12
12
  * ```typescript
13
- * import { PromptMessage } from 'vurb';
13
+ * import { PromptMessage } from '@vurb/core';
14
14
  *
15
15
  * return {
16
16
  * messages: [
@@ -107,7 +107,7 @@ export declare const PromptMessage: {
107
107
  *
108
108
  * @example
109
109
  * ```typescript
110
- * import { definePrompt, PromptMessage } from 'vurb';
110
+ * import { definePrompt, PromptMessage } from '@vurb/core';
111
111
  * import { InvoicePresenter } from './presenters';
112
112
  *
113
113
  * const AuditPrompt = definePrompt<AppContext>('audit', {
@@ -10,7 +10,7 @@
10
10
  *
11
11
  * @example
12
12
  * ```typescript
13
- * import { PromptMessage } from 'vurb';
13
+ * import { PromptMessage } from '@vurb/core';
14
14
  *
15
15
  * return {
16
16
  * messages: [
@@ -121,7 +121,7 @@ export const PromptMessage = {
121
121
  *
122
122
  * @example
123
123
  * ```typescript
124
- * import { definePrompt, PromptMessage } from 'vurb';
124
+ * import { definePrompt, PromptMessage } from '@vurb/core';
125
125
  * import { InvoicePresenter } from './presenters';
126
126
  *
127
127
  * const AuditPrompt = definePrompt<AppContext>('audit', {
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * @example
13
13
  * ```typescript
14
- * import { PromptRegistry, definePrompt } from 'vurb';
14
+ * import { PromptRegistry, definePrompt } from '@vurb/core';
15
15
  *
16
16
  * const promptRegistry = new PromptRegistry<AppContext>();
17
17
  * promptRegistry.register(AuditPrompt);
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * @example
13
13
  * ```typescript
14
- * import { PromptRegistry, definePrompt } from 'vurb';
14
+ * import { PromptRegistry, definePrompt } from '@vurb/core';
15
15
  *
16
16
  * const promptRegistry = new PromptRegistry<AppContext>();
17
17
  * promptRegistry.register(AuditPrompt);
@@ -101,7 +101,7 @@ export declare function cacheBustUrl(filePath: string): string;
101
101
  *
102
102
  * @example
103
103
  * ```typescript
104
- * import { createDevServer, autoDiscover, ToolRegistry } from 'vurb';
104
+ * import { createDevServer, autoDiscover, ToolRegistry } from '@vurb/core';
105
105
  *
106
106
  * const devServer = createDevServer({
107
107
  * dir: './src/tools',
@@ -128,7 +128,7 @@ export function cacheBustUrl(filePath) {
128
128
  *
129
129
  * @example
130
130
  * ```typescript
131
- * import { createDevServer, autoDiscover, ToolRegistry } from 'vurb';
131
+ * import { createDevServer, autoDiscover, ToolRegistry } from '@vurb/core';
132
132
  *
133
133
  * const devServer = createDevServer({
134
134
  * dir: './src/tools',