@roarkanalytics/sdk 5.12.0 → 5.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.13.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v5.12.0...v5.13.0) (2026-10-24)
4
+
5
+
6
+ ### Features
7
+
8
+ * **lib:** code-first config authoring (defineAgent/defineTool/defineConfig) ([#1374](https://github.com/roarkhq/sdk-roark-analytics-node/issues/1374)) ([cd8c8ec](https://github.com/roarkhq/sdk-roark-analytics-node/commit/cd8c8ec55e33c795a0917dea47a0327d6df70904))
9
+
3
10
  ## [5.12.0](https://github.com/roarkhq/sdk-roark-analytics-node/compare/v5.11.0...v5.12.0) (2026-10-22)
4
11
 
5
12
 
@@ -0,0 +1,45 @@
1
+ import type { ConfigApplyParams } from "../resources/config.mjs";
2
+ export type Ref<T extends {
3
+ name: string;
4
+ }> = T | string;
5
+ export type AgentConfig = ConfigApplyParams.AgentConfig;
6
+ export type HTTPRequestDefinitionConfig = ConfigApplyParams.HTTPRequestDefinitionConfig;
7
+ export type PersonaConfig = ConfigApplyParams.PersonaConfig;
8
+ export type ImprovFlowConfig = ConfigApplyParams.ImprovFlowConfig;
9
+ export type ScriptedFlowConfig = ConfigApplyParams.ScriptedFlowConfig;
10
+ export type CollectorConfig = ConfigApplyParams.CollectorConfig;
11
+ export type MetricConfig = ConfigApplyParams.MetricConfig;
12
+ export type SimulationPlanConfig = ConfigApplyParams.SimulationPlanConfig;
13
+ export type QaSimulationPlanConfig = ConfigApplyParams.QaSimulationPlanConfig;
14
+ export type SimulationGroupConfig = ConfigApplyParams.SimulationGroupConfig;
15
+ export type AlertConfig = ConfigApplyParams.AlertConfig;
16
+ export type ToolConfig = ConfigApplyParams.ToolConfig;
17
+ export type DashboardConfig = ConfigApplyParams.DashboardConfig;
18
+ export type ProjectConfig = ConfigApplyParams.ProjectConfig;
19
+ /** Any resource a config bundle can carry. */
20
+ export type ResourceConfig = ConfigApplyParams['resources'][number];
21
+ export declare const defineAgent: (agent: Omit<AgentConfig, "kind">) => AgentConfig;
22
+ export declare const defineHTTPRequestDefinition: (def: Omit<HTTPRequestDefinitionConfig, "kind">) => HTTPRequestDefinitionConfig;
23
+ export declare const definePersona: (persona: Omit<PersonaConfig, "kind">) => PersonaConfig;
24
+ export declare const defineImprovFlow: (flow: Omit<ImprovFlowConfig, "kind" | "type">) => ImprovFlowConfig;
25
+ export declare const defineScriptedFlow: (flow: Omit<ScriptedFlowConfig, "kind" | "type">) => ScriptedFlowConfig;
26
+ export declare const defineCollector: (collector: Omit<CollectorConfig, "kind">) => CollectorConfig;
27
+ export declare const defineMetric: (metric: Omit<MetricConfig, "kind">) => MetricConfig;
28
+ export declare const defineSimulationPlan: (plan: Omit<SimulationPlanConfig, "kind">) => SimulationPlanConfig;
29
+ export declare const defineQaSimulationPlan: (plan: Omit<QaSimulationPlanConfig, "kind" | "template">) => QaSimulationPlanConfig;
30
+ export declare const defineSimulationGroup: (group: Omit<SimulationGroupConfig, "kind">) => SimulationGroupConfig;
31
+ export declare const defineAlert: (alert: Omit<AlertConfig, "kind">) => AlertConfig;
32
+ export declare const defineDashboard: (dashboard: Omit<DashboardConfig, "kind">) => DashboardConfig;
33
+ export declare const defineProject: (project: Omit<ProjectConfig, "kind">) => ProjectConfig;
34
+ /** Input to `defineTool`: `agent` accepts the agent construct or a name string. */
35
+ export type DefineToolInput = Omit<ToolConfig, 'kind' | 'agent'> & {
36
+ /** Scope the tool to one agent (omit for a project-wide tool). */
37
+ agent?: Ref<AgentConfig>;
38
+ };
39
+ export declare const defineTool: (tool: DefineToolInput) => ToolConfig;
40
+ export declare const defineConfig: (bundle: {
41
+ resources: Array<ResourceConfig>;
42
+ /** When true (the server default) config-managed resources absent from the bundle are deleted. */
43
+ prune?: boolean;
44
+ }) => ConfigApplyParams;
45
+ //# sourceMappingURL=config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,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG;IACjE,kEAAkE;IAClE,KAAK,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,eAAe,KAAG,UAGlD,CAAC;AAOF,eAAO,MAAM,YAAY,GAAI,QAAQ;IACnC,SAAS,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IACjC,kGAAkG;IAClG,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,KAAG,iBAGF,CAAC"}
@@ -0,0 +1,45 @@
1
+ import type { ConfigApplyParams } from "../resources/config.js";
2
+ export type Ref<T extends {
3
+ name: string;
4
+ }> = T | string;
5
+ export type AgentConfig = ConfigApplyParams.AgentConfig;
6
+ export type HTTPRequestDefinitionConfig = ConfigApplyParams.HTTPRequestDefinitionConfig;
7
+ export type PersonaConfig = ConfigApplyParams.PersonaConfig;
8
+ export type ImprovFlowConfig = ConfigApplyParams.ImprovFlowConfig;
9
+ export type ScriptedFlowConfig = ConfigApplyParams.ScriptedFlowConfig;
10
+ export type CollectorConfig = ConfigApplyParams.CollectorConfig;
11
+ export type MetricConfig = ConfigApplyParams.MetricConfig;
12
+ export type SimulationPlanConfig = ConfigApplyParams.SimulationPlanConfig;
13
+ export type QaSimulationPlanConfig = ConfigApplyParams.QaSimulationPlanConfig;
14
+ export type SimulationGroupConfig = ConfigApplyParams.SimulationGroupConfig;
15
+ export type AlertConfig = ConfigApplyParams.AlertConfig;
16
+ export type ToolConfig = ConfigApplyParams.ToolConfig;
17
+ export type DashboardConfig = ConfigApplyParams.DashboardConfig;
18
+ export type ProjectConfig = ConfigApplyParams.ProjectConfig;
19
+ /** Any resource a config bundle can carry. */
20
+ export type ResourceConfig = ConfigApplyParams['resources'][number];
21
+ export declare const defineAgent: (agent: Omit<AgentConfig, "kind">) => AgentConfig;
22
+ export declare const defineHTTPRequestDefinition: (def: Omit<HTTPRequestDefinitionConfig, "kind">) => HTTPRequestDefinitionConfig;
23
+ export declare const definePersona: (persona: Omit<PersonaConfig, "kind">) => PersonaConfig;
24
+ export declare const defineImprovFlow: (flow: Omit<ImprovFlowConfig, "kind" | "type">) => ImprovFlowConfig;
25
+ export declare const defineScriptedFlow: (flow: Omit<ScriptedFlowConfig, "kind" | "type">) => ScriptedFlowConfig;
26
+ export declare const defineCollector: (collector: Omit<CollectorConfig, "kind">) => CollectorConfig;
27
+ export declare const defineMetric: (metric: Omit<MetricConfig, "kind">) => MetricConfig;
28
+ export declare const defineSimulationPlan: (plan: Omit<SimulationPlanConfig, "kind">) => SimulationPlanConfig;
29
+ export declare const defineQaSimulationPlan: (plan: Omit<QaSimulationPlanConfig, "kind" | "template">) => QaSimulationPlanConfig;
30
+ export declare const defineSimulationGroup: (group: Omit<SimulationGroupConfig, "kind">) => SimulationGroupConfig;
31
+ export declare const defineAlert: (alert: Omit<AlertConfig, "kind">) => AlertConfig;
32
+ export declare const defineDashboard: (dashboard: Omit<DashboardConfig, "kind">) => DashboardConfig;
33
+ export declare const defineProject: (project: Omit<ProjectConfig, "kind">) => ProjectConfig;
34
+ /** Input to `defineTool`: `agent` accepts the agent construct or a name string. */
35
+ export type DefineToolInput = Omit<ToolConfig, 'kind' | 'agent'> & {
36
+ /** Scope the tool to one agent (omit for a project-wide tool). */
37
+ agent?: Ref<AgentConfig>;
38
+ };
39
+ export declare const defineTool: (tool: DefineToolInput) => ToolConfig;
40
+ export declare const defineConfig: (bundle: {
41
+ resources: Array<ResourceConfig>;
42
+ /** When true (the server default) config-managed resources absent from the bundle are deleted. */
43
+ prune?: boolean;
44
+ }) => ConfigApplyParams;
45
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,iBAAiB,EAAE,+BAA4B;AAK7D,MAAM,MAA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C;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,eAAe,KAAG,UAGlD,CAAC;AAOF,eAAO,MAAM,YAAY,GAAI,QAAQ;IACnC,SAAS,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IACjC,kGAAkG;IAClG,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,KAAG,iBAGF,CAAC"}
package/lib/config.js ADDED
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ // Code-first config authoring: a typed, ergonomic alternative to hand-written
3
+ // config YAML. Build agents, tools, personas, flows, metrics and the rest in
4
+ // TypeScript, then ship them with `client.config.apply(...)` (or preview with
5
+ // `client.config.diff(...)`).
6
+ //
7
+ // Each `define*` helper injects the resource's `kind` (and any fixed
8
+ // discriminator) and returns the exact param object the config endpoints expect,
9
+ // so the output is identical to the YAML path: both produce a config bundle.
10
+ // Input types are DERIVED from the generated `ConfigApplyParams`, so a new field
11
+ // on a resource (for example a tool `handler`) shows up here automatically on the
12
+ // next codegen, with no change to this file.
13
+ //
14
+ // This lives in `src/lib`, which Stainless codegen never touches. Import it from
15
+ // `@roarkanalytics/sdk/lib/config`.
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.defineConfig = exports.defineTool = exports.defineProject = exports.defineDashboard = exports.defineAlert = exports.defineSimulationGroup = exports.defineQaSimulationPlan = exports.defineSimulationPlan = exports.defineMetric = exports.defineCollector = exports.defineScriptedFlow = exports.defineImprovFlow = exports.definePersona = exports.defineHTTPRequestDefinition = exports.defineAgent = void 0;
18
+ const refName = (ref) => typeof ref === 'string' ? ref : ref.name;
19
+ // ── Builders ──
20
+ // Prompts are just strings here: pass an inline template literal or
21
+ // `readFileSync('./prompt.md', 'utf8')`. No `file://` sentinel needed.
22
+ const defineAgent = (agent) => ({ kind: 'agent', ...agent });
23
+ exports.defineAgent = defineAgent;
24
+ const defineHTTPRequestDefinition = (def) => ({ kind: 'httpRequestDefinition', ...def });
25
+ exports.defineHTTPRequestDefinition = defineHTTPRequestDefinition;
26
+ const definePersona = (persona) => ({
27
+ kind: 'persona',
28
+ ...persona,
29
+ });
30
+ exports.definePersona = definePersona;
31
+ const defineImprovFlow = (flow) => ({
32
+ kind: 'flow',
33
+ type: 'improv',
34
+ ...flow,
35
+ });
36
+ exports.defineImprovFlow = defineImprovFlow;
37
+ const defineScriptedFlow = (flow) => ({
38
+ kind: 'flow',
39
+ type: 'scripted',
40
+ ...flow,
41
+ });
42
+ exports.defineScriptedFlow = defineScriptedFlow;
43
+ const defineCollector = (collector) => ({
44
+ kind: 'collector',
45
+ ...collector,
46
+ });
47
+ exports.defineCollector = defineCollector;
48
+ const defineMetric = (metric) => ({
49
+ kind: 'metric',
50
+ ...metric,
51
+ });
52
+ exports.defineMetric = defineMetric;
53
+ const defineSimulationPlan = (plan) => ({
54
+ kind: 'simulationPlan',
55
+ ...plan,
56
+ });
57
+ exports.defineSimulationPlan = defineSimulationPlan;
58
+ const defineQaSimulationPlan = (plan) => ({ kind: 'simulationPlan', template: 'question-answer-check', ...plan });
59
+ exports.defineQaSimulationPlan = defineQaSimulationPlan;
60
+ const defineSimulationGroup = (group) => ({
61
+ kind: 'simulationGroup',
62
+ ...group,
63
+ });
64
+ exports.defineSimulationGroup = defineSimulationGroup;
65
+ const defineAlert = (alert) => ({ kind: 'alert', ...alert });
66
+ exports.defineAlert = defineAlert;
67
+ const defineDashboard = (dashboard) => ({
68
+ kind: 'dashboard',
69
+ ...dashboard,
70
+ });
71
+ exports.defineDashboard = defineDashboard;
72
+ const defineProject = (project) => ({
73
+ kind: 'project',
74
+ ...project,
75
+ });
76
+ exports.defineProject = defineProject;
77
+ const defineTool = (tool) => {
78
+ const { agent, ...rest } = tool;
79
+ return { kind: 'tool', ...rest, ...(agent === undefined ? {} : { agent: refName(agent) }) };
80
+ };
81
+ exports.defineTool = defineTool;
82
+ // ── The bundle ──
83
+ // `defineConfig` assembles the bundle you hand to `client.config.apply(bundle)`
84
+ // or `client.config.diff(bundle)`. `resources` accepts both construct outputs
85
+ // and raw resource objects, so a kind without a dedicated builder still fits.
86
+ const defineConfig = (bundle) => ({
87
+ resources: bundle.resources,
88
+ ...(bundle.prune === undefined ? {} : { prune: bundle.prune }),
89
+ });
90
+ exports.defineConfig = defineConfig;
91
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA,8EAA8E;AAC9E,6EAA6E;AAC7E,8EAA8E;AAC9E,8BAA8B;AAC9B,EAAE;AACF,qEAAqE;AACrE,iFAAiF;AACjF,6EAA6E;AAC7E,iFAAiF;AACjF,kFAAkF;AAClF,6CAA6C;AAC7C,EAAE;AACF,iFAAiF;AACjF,oCAAoC;;;AASpC,MAAM,OAAO,GAAG,CAA6B,GAAW,EAAU,EAAE,CAClE,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;AAqB3C,iBAAiB;AACjB,oEAAoE;AACpE,uEAAuE;AAEhE,MAAM,WAAW,GAAG,CAAC,KAAgC,EAAe,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC;AAA/F,QAAA,WAAW,eAAoF;AAErG,MAAM,2BAA2B,GAAG,CACzC,GAA8C,EACjB,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,GAAG,GAAG,EAAE,CAAC,CAAC;AAFjE,QAAA,2BAA2B,+BAEsC;AAEvE,MAAM,aAAa,GAAG,CAAC,OAAoC,EAAiB,EAAE,CAAC,CAAC;IACrF,IAAI,EAAE,SAAS;IACf,GAAG,OAAO;CACX,CAAC,CAAC;AAHU,QAAA,aAAa,iBAGvB;AAEI,MAAM,gBAAgB,GAAG,CAAC,IAA6C,EAAoB,EAAE,CAAC,CAAC;IACpG,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,QAAQ;IACd,GA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,CAAC;IAC7F,IAAI,EAAE,WAAW;IACjB,GAAG,SAAS;CACb,CAAC,CAAC;AAHU,QAAA,eAAe,mBAGzB;AAEI,MAAM,aAAa,GAAG,CAAC,OAAoC,EAAiB,EAAE,CAAC,CAAC;IACrF,IAAI,EAAE,SAAS;IACf,GAAG,OAAO;CACX,CAAC,CAAC;AAHU,QAAA,aAAa,iBAGvB;AAQI,MAAM,UAAU,GAAG,CAAC,IAAqB,EAAc,EAAE;IAC9D,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC;AAC9F,CAAC,CAAC;AAHW,QAAA,UAAU,cAGrB;AAEF,mBAAmB;AACnB,gFAAgF;AAChF,8EAA8E;AAC9E,8EAA8E;AAEvE,MAAM,YAAY,GAAG,CAAC,MAI5B,EAAqB,EAAE,CAAC,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC,SAAS;IAC3B,GAAG,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC;CAC/D,CAAC,CAAC;AAPU,QAAA,YAAY,gBAOtB"}
package/lib/config.mjs ADDED
@@ -0,0 +1,73 @@
1
+ // Code-first config authoring: a typed, ergonomic alternative to hand-written
2
+ // config YAML. Build agents, tools, personas, flows, metrics and the rest in
3
+ // TypeScript, then ship them with `client.config.apply(...)` (or preview with
4
+ // `client.config.diff(...)`).
5
+ //
6
+ // Each `define*` helper injects the resource's `kind` (and any fixed
7
+ // discriminator) and returns the exact param object the config endpoints expect,
8
+ // so the output is identical to the YAML path: both produce a config bundle.
9
+ // Input types are DERIVED from the generated `ConfigApplyParams`, so a new field
10
+ // on a resource (for example a tool `handler`) shows up here automatically on the
11
+ // next codegen, with no change to this file.
12
+ //
13
+ // This lives in `src/lib`, which Stainless codegen never touches. Import it from
14
+ // `@roarkanalytics/sdk/lib/config`.
15
+ const refName = (ref) => typeof ref === 'string' ? ref : ref.name;
16
+ // ── Builders ──
17
+ // Prompts are just strings here: pass an inline template literal or
18
+ // `readFileSync('./prompt.md', 'utf8')`. No `file://` sentinel needed.
19
+ export const defineAgent = (agent) => ({ kind: 'agent', ...agent });
20
+ export const defineHTTPRequestDefinition = (def) => ({ kind: 'httpRequestDefinition', ...def });
21
+ export const definePersona = (persona) => ({
22
+ kind: 'persona',
23
+ ...persona,
24
+ });
25
+ export const defineImprovFlow = (flow) => ({
26
+ kind: 'flow',
27
+ type: 'improv',
28
+ ...flow,
29
+ });
30
+ export const defineScriptedFlow = (flow) => ({
31
+ kind: 'flow',
32
+ type: 'scripted',
33
+ ...flow,
34
+ });
35
+ export const defineCollector = (collector) => ({
36
+ kind: 'collector',
37
+ ...collector,
38
+ });
39
+ export const defineMetric = (metric) => ({
40
+ kind: 'metric',
41
+ ...metric,
42
+ });
43
+ export const defineSimulationPlan = (plan) => ({
44
+ kind: 'simulationPlan',
45
+ ...plan,
46
+ });
47
+ export const defineQaSimulationPlan = (plan) => ({ kind: 'simulationPlan', template: 'question-answer-check', ...plan });
48
+ export const defineSimulationGroup = (group) => ({
49
+ kind: 'simulationGroup',
50
+ ...group,
51
+ });
52
+ export const defineAlert = (alert) => ({ kind: 'alert', ...alert });
53
+ export const defineDashboard = (dashboard) => ({
54
+ kind: 'dashboard',
55
+ ...dashboard,
56
+ });
57
+ export const defineProject = (project) => ({
58
+ kind: 'project',
59
+ ...project,
60
+ });
61
+ export const defineTool = (tool) => {
62
+ const { agent, ...rest } = tool;
63
+ return { kind: 'tool', ...rest, ...(agent === undefined ? {} : { agent: refName(agent) }) };
64
+ };
65
+ // ── The bundle ──
66
+ // `defineConfig` assembles the bundle you hand to `client.config.apply(bundle)`
67
+ // or `client.config.diff(bundle)`. `resources` accepts both construct outputs
68
+ // and raw resource objects, so a kind without a dedicated builder still fits.
69
+ export const defineConfig = (bundle) => ({
70
+ resources: bundle.resources,
71
+ ...(bundle.prune === undefined ? {} : { prune: bundle.prune }),
72
+ });
73
+ //# sourceMappingURL=config.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.mjs","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,6EAA6E;AAC7E,8EAA8E;AAC9E,8BAA8B;AAC9B,EAAE;AACF,qEAAqE;AACrE,iFAAiF;AACjF,6EAA6E;AAC7E,iFAAiF;AACjF,kFAAkF;AAClF,6CAA6C;AAC7C,EAAE;AACF,iFAAiF;AACjF,oCAAoC;AASpC,MAAM,OAAO,GAAG,CAA6B,GAAW,EAAU,EAAE,CAClE,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;AAqB3C,iBAAiB;AACjB,oEAAoE;AACpE,uEAAuE;AAEvE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAgC,EAAe,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC;AAE5G,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,GAA8C,EACjB,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,GAAG,GAAG,EAAE,CAAC,CAAC;AAE9E,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAAoC,EAAiB,EAAE,CAAC,CAAC;IACrF,IAAI,EAAE,SAAS;IACf,GAAG,OAAO;CACX,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAA6C,EAAoB,EAAE,CAAC,CAAC;IACpG,IAAI,EAAE,MAAM;I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,GAAG,CAAC,OAAoC,EAAiB,EAAE,CAAC,CAAC;IACrF,IAAI,EAAE,SAAS;IACf,GAAG,OAAO;CACX,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAqB,EAAc,EAAE;IAC9D,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC;AAC9F,CAAC,CAAC;AAEF,mBAAmB;AACnB,gFAAgF;AAChF,8EAA8E;AAC9E,8EAA8E;AAE9E,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,MAI5B,EAAqB,EAAE,CAAC,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC,SAAS;IAC3B,GAAG,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC;CAC/D,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roarkanalytics/sdk",
3
- "version": "5.12.0",
3
+ "version": "5.13.0",
4
4
  "description": "The official TypeScript library for the Roark API",
5
5
  "author": "Roark <james@roark.ai>",
6
6
  "types": "./index.d.ts",
@@ -81,6 +81,16 @@
81
81
  "./index.mjs": {
82
82
  "default": "./index.mjs"
83
83
  },
84
+ "./lib/*.mjs": {
85
+ "default": "./lib/*.mjs"
86
+ },
87
+ "./lib/*.js": {
88
+ "default": "./lib/*.js"
89
+ },
90
+ "./lib/*": {
91
+ "import": "./lib/*.mjs",
92
+ "require": "./lib/*.js"
93
+ },
84
94
  "./resource": {
85
95
  "import": "./resource.mjs",
86
96
  "require": "./resource.js"
@@ -0,0 +1,131 @@
1
+ // Code-first config authoring: a typed, ergonomic alternative to hand-written
2
+ // config YAML. Build agents, tools, personas, flows, metrics and the rest in
3
+ // TypeScript, then ship them with `client.config.apply(...)` (or preview with
4
+ // `client.config.diff(...)`).
5
+ //
6
+ // Each `define*` helper injects the resource's `kind` (and any fixed
7
+ // discriminator) and returns the exact param object the config endpoints expect,
8
+ // so the output is identical to the YAML path: both produce a config bundle.
9
+ // Input types are DERIVED from the generated `ConfigApplyParams`, so a new field
10
+ // on a resource (for example a tool `handler`) shows up here automatically on the
11
+ // next codegen, with no change to this file.
12
+ //
13
+ // This lives in `src/lib`, which Stainless codegen never touches. Import it from
14
+ // `@roarkanalytics/sdk/lib/config`.
15
+
16
+ import type { ConfigApplyParams } from '../resources/config';
17
+
18
+ // ── Cross-references ──
19
+ // A resource that points at another by name accepts either the construct a
20
+ // `define*` helper returned (its `name` is used) or a bare name string.
21
+ export type Ref<T extends { name: string }> = T | string;
22
+
23
+ const refName = <T extends { name: string }>(ref: Ref<T>): string =>
24
+ typeof ref === 'string' ? ref : ref.name;
25
+
26
+ // ── Friendly aliases for the generated param types ──
27
+ export type AgentConfig = ConfigApplyParams.AgentConfig;
28
+ export type HTTPRequestDefinitionConfig = ConfigApplyParams.HTTPRequestDefinitionConfig;
29
+ export type PersonaConfig = ConfigApplyParams.PersonaConfig;
30
+ export type ImprovFlowConfig = ConfigApplyParams.ImprovFlowConfig;
31
+ export type ScriptedFlowConfig = ConfigApplyParams.ScriptedFlowConfig;
32
+ export type CollectorConfig = ConfigApplyParams.CollectorConfig;
33
+ export type MetricConfig = ConfigApplyParams.MetricConfig;
34
+ export type SimulationPlanConfig = ConfigApplyParams.SimulationPlanConfig;
35
+ export type QaSimulationPlanConfig = ConfigApplyParams.QaSimulationPlanConfig;
36
+ export type SimulationGroupConfig = ConfigApplyParams.SimulationGroupConfig;
37
+ export type AlertConfig = ConfigApplyParams.AlertConfig;
38
+ export type ToolConfig = ConfigApplyParams.ToolConfig;
39
+ export type DashboardConfig = ConfigApplyParams.DashboardConfig;
40
+ export type ProjectConfig = ConfigApplyParams.ProjectConfig;
41
+
42
+ /** Any resource a config bundle can carry. */
43
+ export type ResourceConfig = ConfigApplyParams['resources'][number];
44
+
45
+ // ── Builders ──
46
+ // Prompts are just strings here: pass an inline template literal or
47
+ // `readFileSync('./prompt.md', 'utf8')`. No `file://` sentinel needed.
48
+
49
+ export const defineAgent = (agent: Omit<AgentConfig, 'kind'>): AgentConfig => ({ kind: 'agent', ...agent });
50
+
51
+ export const defineHTTPRequestDefinition = (
52
+ def: Omit<HTTPRequestDefinitionConfig, 'kind'>,
53
+ ): HTTPRequestDefinitionConfig => ({ kind: 'httpRequestDefinition', ...def });
54
+
55
+ export const definePersona = (persona: Omit<PersonaConfig, 'kind'>): PersonaConfig => ({
56
+ kind: 'persona',
57
+ ...persona,
58
+ });
59
+
60
+ export const defineImprovFlow = (flow: Omit<ImprovFlowConfig, 'kind' | 'type'>): ImprovFlowConfig => ({
61
+ kind: 'flow',
62
+ type: 'improv',
63
+ ...flow,
64
+ });
65
+
66
+ export const defineScriptedFlow = (flow: Omit<ScriptedFlowConfig, 'kind' | 'type'>): ScriptedFlowConfig => ({
67
+ kind: 'flow',
68
+ type: 'scripted',
69
+ ...flow,
70
+ });
71
+
72
+ export const defineCollector = (collector: Omit<CollectorConfig, 'kind'>): CollectorConfig => ({
73
+ kind: 'collector',
74
+ ...collector,
75
+ });
76
+
77
+ export const defineMetric = (metric: Omit<MetricConfig, 'kind'>): MetricConfig => ({
78
+ kind: 'metric',
79
+ ...metric,
80
+ });
81
+
82
+ export const defineSimulationPlan = (plan: Omit<SimulationPlanConfig, 'kind'>): SimulationPlanConfig => ({
83
+ kind: 'simulationPlan',
84
+ ...plan,
85
+ });
86
+
87
+ export const defineQaSimulationPlan = (
88
+ plan: Omit<QaSimulationPlanConfig, 'kind' | 'template'>,
89
+ ): QaSimulationPlanConfig => ({ kind: 'simulationPlan', template: 'question-answer-check', ...plan });
90
+
91
+ export const defineSimulationGroup = (group: Omit<SimulationGroupConfig, 'kind'>): SimulationGroupConfig => ({
92
+ kind: 'simulationGroup',
93
+ ...group,
94
+ });
95
+
96
+ export const defineAlert = (alert: Omit<AlertConfig, 'kind'>): AlertConfig => ({ kind: 'alert', ...alert });
97
+
98
+ export const defineDashboard = (dashboard: Omit<DashboardConfig, 'kind'>): DashboardConfig => ({
99
+ kind: 'dashboard',
100
+ ...dashboard,
101
+ });
102
+
103
+ export const defineProject = (project: Omit<ProjectConfig, 'kind'>): ProjectConfig => ({
104
+ kind: 'project',
105
+ ...project,
106
+ });
107
+
108
+ /** Input to `defineTool`: `agent` accepts the agent construct or a name string. */
109
+ export type DefineToolInput = Omit<ToolConfig, 'kind' | 'agent'> & {
110
+ /** Scope the tool to one agent (omit for a project-wide tool). */
111
+ agent?: Ref<AgentConfig>;
112
+ };
113
+
114
+ export const defineTool = (tool: DefineToolInput): ToolConfig => {
115
+ const { agent, ...rest } = tool;
116
+ return { kind: 'tool', ...rest, ...(agent === undefined ? {} : { agent: refName(agent) }) };
117
+ };
118
+
119
+ // ── The bundle ──
120
+ // `defineConfig` assembles the bundle you hand to `client.config.apply(bundle)`
121
+ // or `client.config.diff(bundle)`. `resources` accepts both construct outputs
122
+ // and raw resource objects, so a kind without a dedicated builder still fits.
123
+
124
+ export const defineConfig = (bundle: {
125
+ resources: Array<ResourceConfig>;
126
+ /** When true (the server default) config-managed resources absent from the bundle are deleted. */
127
+ prune?: boolean;
128
+ }): ConfigApplyParams => ({
129
+ resources: bundle.resources,
130
+ ...(bundle.prune === undefined ? {} : { prune: bundle.prune }),
131
+ });
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.12.0'; // x-release-please-version
1
+ export const VERSION = '5.13.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.12.0";
1
+ export declare const VERSION = "5.13.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.12.0";
1
+ export declare const VERSION = "5.13.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.12.0'; // x-release-please-version
4
+ exports.VERSION = '5.13.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.12.0'; // x-release-please-version
1
+ export const VERSION = '5.13.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map