@ptkl/toolkit 1.4.4 → 1.6.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.
Files changed (46) hide show
  1. package/README.md +34 -1
  2. package/dist/commands/__tests__/capabilities.test.js +83 -0
  3. package/dist/commands/__tests__/componentRunAs.test.js +65 -0
  4. package/dist/commands/__tests__/forge-bundle-layout.test.js +58 -0
  5. package/dist/commands/__tests__/forge-bundle-path.test.js +29 -0
  6. package/dist/commands/__tests__/forge-tools.test.js +64 -0
  7. package/dist/commands/__tests__/forge-variables.test.js +16 -0
  8. package/dist/commands/__tests__/kortexPlaybook.test.js +328 -0
  9. package/dist/commands/__tests__/role.test.js +83 -0
  10. package/dist/commands/__tests__/runAs.test.js +63 -0
  11. package/dist/commands/__tests__/thunder.test.js +46 -0
  12. package/dist/commands/component.js +9 -3
  13. package/dist/commands/forge.js +262 -202
  14. package/dist/commands/functions.js +11 -5
  15. package/dist/commands/integrations/payments.js +11 -7
  16. package/dist/commands/kortex.js +8 -6
  17. package/dist/commands/kortexPlaybook.js +396 -0
  18. package/dist/commands/role.js +45 -54
  19. package/dist/commands/satellite.js +0 -5
  20. package/dist/commands/thunder.js +19 -12
  21. package/dist/commands/workflow.js +10 -4
  22. package/dist/lib/__tests__/apiError.test.js +18 -0
  23. package/dist/lib/__tests__/apiErrorCapabilities.test.js +23 -0
  24. package/dist/lib/__tests__/forgeDevKernelPlugin.test.js +34 -0
  25. package/dist/lib/__tests__/forgeDevServiceExec.test.js +61 -0
  26. package/dist/lib/__tests__/forgeDevServiceServer.test.js +113 -0
  27. package/dist/lib/__tests__/forgeDevToken.test.js +85 -0
  28. package/dist/lib/__tests__/runIdentity.test.js +101 -0
  29. package/dist/lib/__tests__/thunder.test.js +101 -0
  30. package/dist/lib/apiError.js +94 -1
  31. package/dist/lib/forgeDevKernelPlugin.js +90 -4
  32. package/dist/lib/forgeDevServiceExec.js +49 -0
  33. package/dist/lib/forgeDevServiceServer.js +163 -0
  34. package/dist/lib/forgeDevToken.js +126 -0
  35. package/dist/lib/kortex/__tests__/fixtures/sse-and-persistence.test.js +1 -1
  36. package/dist/lib/kortex/__tests__/playbookRules.test.js +120 -0
  37. package/dist/lib/kortex/__tests__/resultSchemaChecker.test.js +37 -0
  38. package/dist/lib/kortex/playbookValidator.js +297 -0
  39. package/dist/lib/kortex/providers/protokol.js +1 -1
  40. package/dist/lib/kortex/resultSchemaChecker.js +188 -0
  41. package/dist/lib/kortex/session.js +1 -3
  42. package/dist/lib/oauth/ScopePreset.js +4 -3
  43. package/dist/lib/oauth/__tests__/oauth.test.js +6 -3
  44. package/dist/lib/runIdentity.js +51 -0
  45. package/dist/lib/thunder.js +98 -0
  46. package/package.json +2 -2
@@ -0,0 +1,188 @@
1
+ // Mirrors Kortex's result schema checker (commit f35ce00): same rules, same messages,
2
+ // same field paths, same order. Every field is checked, not just the first.
3
+ // Not mirrored: the server's last-resort meta-schema validation (it adds a generic
4
+ // "the schema is not valid" problem only when none of the rules above fired).
5
+ export const MAX_RESULT_SCHEMA_DEPTH = 5;
6
+ export const MAX_RESULT_SCHEMA_BYTES = 8 * 1024;
7
+ export const MAX_RESULT_DESCRIPTION_LENGTH = 500;
8
+ export const MAX_RESULT_PROBLEMS = 20;
9
+ const TYPE_LIST = 'object, array, string, number, integer or boolean';
10
+ const KEYWORD_LIST = 'type, properties, required, items, enum, description and additionalProperties';
11
+ const TYPES = new Set(['object', 'array', 'string', 'number', 'integer', 'boolean']);
12
+ const KEYWORDS = new Set(['type', 'properties', 'required', 'items', 'enum', 'description', 'additionalProperties']);
13
+ const NAME_RE = /^[A-Za-z][A-Za-z0-9_-]{0,63}$/;
14
+ const isObj = (v) => v !== null && typeof v === 'object' && !Array.isArray(v);
15
+ const has = (o, k) => Object.prototype.hasOwnProperty.call(o, k);
16
+ // Like Go's %q for the usual titles: double quotes, backslash escapes.
17
+ export const goQuote = (s) => JSON.stringify(s);
18
+ const deepEqual = (a, b) => JSON.stringify(a) === JSON.stringify(b);
19
+ export default class ResultSchemaChecker {
20
+ found = [];
21
+ // Everything wrong with a schema, in plain words; empty when it is fine.
22
+ problems(schema) {
23
+ this.found = [];
24
+ if (Buffer.byteLength(JSON.stringify(schema ?? null)) > MAX_RESULT_SCHEMA_BYTES) {
25
+ return [{ field: '', message: `the result: the schema is too big (at most ${MAX_RESULT_SCHEMA_BYTES / 1024} KB).` }];
26
+ }
27
+ if (!isObj(schema))
28
+ return [{ field: '', message: 'the result: the schema must be a JSON object.' }];
29
+ this.top(schema);
30
+ return this.found;
31
+ }
32
+ add(field, message) {
33
+ const where = field === '' ? 'the result' : `field '${field}'`;
34
+ this.found.push({ field, message: `${where}: ${message}` });
35
+ }
36
+ top(root) {
37
+ if (root.type !== 'object') {
38
+ this.add('', 'the top level must be an object, with "type": "object".');
39
+ }
40
+ else {
41
+ const p = root.properties;
42
+ if ((p === undefined || p === null || isObj(p)) && Object.keys(p ?? {}).length === 0) {
43
+ this.add('', 'it needs at least one property under "properties".');
44
+ }
45
+ }
46
+ this.node(root, '', 1, true);
47
+ }
48
+ node(s, field, depth, top) {
49
+ if (depth > MAX_RESULT_SCHEMA_DEPTH) {
50
+ this.add(field, `nested too deeply (at most ${MAX_RESULT_SCHEMA_DEPTH} levels).`);
51
+ return;
52
+ }
53
+ for (const k of Object.keys(s).sort()) {
54
+ if (!KEYWORDS.has(k))
55
+ this.add(field, `'${k}' is not supported. Use only ${KEYWORD_LIST}.`);
56
+ }
57
+ const typ = this.typeOf(s, field, top);
58
+ this.description(s, field);
59
+ if (has(s, 'additionalProperties') && typeof s.additionalProperties !== 'boolean') {
60
+ this.add(field, 'additionalProperties must be true or false.');
61
+ }
62
+ this.enum(s, field, typ);
63
+ if (has(s, 'properties') && typ !== '' && typ !== 'object')
64
+ this.add(field, 'only an object can have properties.');
65
+ if (has(s, 'required') && typ !== '' && typ !== 'object')
66
+ this.add(field, 'only an object can have required.');
67
+ if (has(s, 'items') && typ !== '' && typ !== 'array')
68
+ this.add(field, 'only an array can have items.');
69
+ if (!has(s, 'items') && typ === 'array')
70
+ this.add(field, 'an array needs items, so the agent knows what each element is.');
71
+ this.properties(s, field, depth);
72
+ if (typ === '' || typ === 'object')
73
+ this.required(s, field);
74
+ if (has(s, 'items')) {
75
+ if (!isObj(s.items))
76
+ this.add(field, 'items must be a schema object, like {"type": "string"}.');
77
+ else
78
+ this.node(s.items, `${field}[]`, depth + 1, false);
79
+ }
80
+ }
81
+ typeOf(s, field, top) {
82
+ const raw = s.type;
83
+ if (top && raw !== 'object')
84
+ return '';
85
+ if (raw === undefined || raw === null)
86
+ this.add(field, `it needs a "type": ${TYPE_LIST}.`);
87
+ else if (typeof raw === 'string') {
88
+ if (TYPES.has(raw))
89
+ return raw;
90
+ this.add(field, `unknown type '${raw}'; use ${TYPE_LIST}.`);
91
+ }
92
+ else
93
+ this.add(field, `the type must be one word, not a list or an object: ${TYPE_LIST}.`);
94
+ return '';
95
+ }
96
+ description(s, field) {
97
+ if (!has(s, 'description'))
98
+ return;
99
+ const d = s.description;
100
+ if (typeof d !== 'string')
101
+ this.add(field, 'the description must be text.');
102
+ else if ([...d].length > MAX_RESULT_DESCRIPTION_LENGTH) {
103
+ this.add(field, `the description is too long (at most ${MAX_RESULT_DESCRIPTION_LENGTH} characters).`);
104
+ }
105
+ }
106
+ enum(s, field, typ) {
107
+ if (!has(s, 'enum'))
108
+ return;
109
+ if (typ !== '' && typ !== 'string' && typ !== 'number' && typ !== 'integer') {
110
+ this.add(field, 'enum is only for string, number or integer fields.');
111
+ return;
112
+ }
113
+ const list = s.enum;
114
+ if (!Array.isArray(list) || list.length === 0) {
115
+ this.add(field, 'the allowed values (enum) must be a non-empty list.');
116
+ return;
117
+ }
118
+ for (let i = 0; i < list.length; i++) {
119
+ for (let j = 0; j < i; j++) {
120
+ if (deepEqual(list[i], list[j])) {
121
+ this.add(field, 'the allowed values (enum) must not repeat a value.');
122
+ return;
123
+ }
124
+ }
125
+ }
126
+ let wrong = false;
127
+ let want = '';
128
+ for (const v of list) {
129
+ const isNum = typeof v === 'number';
130
+ if (typ === 'string') {
131
+ wrong = wrong || typeof v !== 'string';
132
+ want = 'text';
133
+ }
134
+ else if (typ === 'number') {
135
+ wrong = wrong || !isNum;
136
+ want = 'numbers';
137
+ }
138
+ else if (typ === 'integer') {
139
+ wrong = wrong || !isNum || v !== Math.trunc(v);
140
+ want = 'whole numbers';
141
+ }
142
+ }
143
+ if (wrong)
144
+ this.add(field, `the allowed values must be ${want}, like its type.`);
145
+ }
146
+ properties(s, field, depth) {
147
+ if (!has(s, 'properties'))
148
+ return;
149
+ const pm = s.properties;
150
+ if (!isObj(pm)) {
151
+ this.add(field, 'properties must be an object of named fields.');
152
+ return;
153
+ }
154
+ for (const n of Object.keys(pm).sort()) {
155
+ const path = field === '' ? n : `${field}.${n}`;
156
+ if (!NAME_RE.test(n))
157
+ this.add(path, 'the name is not allowed; use 1 to 64 letters, digits, _ or -, starting with a letter.');
158
+ const child = pm[n];
159
+ if (!isObj(child)) {
160
+ this.add(path, 'it must be a schema object, like {"type": "string"}.');
161
+ continue;
162
+ }
163
+ this.node(child, path, depth + 1, false);
164
+ }
165
+ }
166
+ required(s, field) {
167
+ if (!has(s, 'required'))
168
+ return;
169
+ const list = s.required;
170
+ if (!Array.isArray(list)) {
171
+ this.add(field, 'required must be a list of field names.');
172
+ return;
173
+ }
174
+ const pm = isObj(s.properties) ? s.properties : {};
175
+ const seen = new Set();
176
+ for (const v of list) {
177
+ if (typeof v !== 'string') {
178
+ this.add(field, 'required must be a list of field names.');
179
+ return;
180
+ }
181
+ if (seen.has(v))
182
+ this.add(field, `required lists '${v}' more than once.`);
183
+ else if (!has(pm, v) || pm[v] === null)
184
+ this.add(field, `required lists '${v}', which is not among its properties.`);
185
+ seen.add(v);
186
+ }
187
+ }
188
+ }
@@ -7,9 +7,7 @@ import { MCPManager } from './mcp.js';
7
7
  import { saveKortexConfig } from './config.js';
8
8
  import { createConversation as createLocalConversation, saveConversation, loadConversation, listConversations, } from './conversations.js';
9
9
  const PLATFORM_AGENTS = [
10
- { uuid: 'protokol-bot', name: 'ProtokolBot', description: 'Free tier platform assistant' },
11
- { uuid: 'proka', name: 'Proka', description: 'Standard tier platform assistant' },
12
- { uuid: 'prota', name: 'Prota', description: 'Pro tier platform assistant' },
10
+ { uuid: 'prota', name: 'Prota', description: 'Platform assistant' },
13
11
  ];
14
12
  const MAX_TOOL_ROUNDS = 25;
15
13
  const CONTEXT_LIMIT = 128_000;
@@ -6,6 +6,7 @@
6
6
  export const SCOPE_PRESET = [
7
7
  { permission: "manage base_platform_apps", commands: "apps" },
8
8
  { permission: "manage base_functions", commands: "functions" },
9
+ { permission: "secrets::read base_functions", commands: "functions (update)" },
9
10
  { permission: "manage base_components", commands: "component, generate-types, ratchet test connection" },
10
11
  { permission: "manage base_templates", commands: "template" },
11
12
  { permission: "manage base_thunder", commands: "thunder" },
@@ -23,7 +24,8 @@ export const SCOPE_PRESET = [
23
24
  { permission: "manage timber", commands: "integration timber query/usage, logs" },
24
25
  { permission: "write timber", commands: "integration timber write" },
25
26
  { permission: "use protokol-media", commands: "integration dms (dirs, backup, policies, reminders, download)" },
26
- { permission: "utilities protokol-media", commands: "integration dms (libraries, convert, ocr)" },
27
+ { permission: "utilities protokol-media", commands: "integration dms (libraries, convert)" },
28
+ { permission: "ocr::extract protokol-media", commands: "integration dms ocr" },
27
29
  { permission: "upload protokol-media", commands: "integration dms upload" },
28
30
  { permission: "read_documents protokol-media", commands: "integration dms document (read/list/revisions/generate)" },
29
31
  { permission: "create_document protokol-media", commands: "integration dms document create" },
@@ -33,9 +35,8 @@ export const SCOPE_PRESET = [
33
35
  { permission: "inspect base_ratchet", commands: "ratchet (query inspect)" },
34
36
  { permission: "read base_users", commands: "users (list)" },
35
37
  { permission: "edit base_users", commands: "api-users (list/get/edit/revoke-secret)" },
36
- { permission: "manage_secrets base_users", commands: "api-users (new/new-secret)" },
38
+ { permission: "credentials::manage base_users", commands: "api-users (new/new-secret)" },
37
39
  { permission: "read base_roles", commands: "role (list)" },
38
- { permission: "get global_env", commands: "config (read)" },
39
40
  // Non-live envs need "<env> env_access"; dev is the CLI's default env.
40
41
  { permission: "dev env_access", commands: "every command on the dev env (the default)" },
41
42
  ];
@@ -42,6 +42,9 @@ describe("ScopePreset", () => {
42
42
  it("encodes offline_access and typed entries", () => {
43
43
  expect(ScopePreset.toWire(["read base_users", "pattern:read .*"])).toBe(`offline_access perm64:${Buffer.from("read base_users").toString("base64url")} pattern64:${Buffer.from("read .*").toString("base64url")}`);
44
44
  });
45
+ it("includes secrets::read base_functions for the functions commands", () => {
46
+ expect(ScopePreset.resolve({})).toContain("secrets::read base_functions");
47
+ });
45
48
  it("defaults to the preset, --scope replaces, --add-scope extends", () => {
46
49
  expect(ScopePreset.resolve({})).toEqual(ScopePreset.permissions);
47
50
  expect(ScopePreset.resolve({ scope: "a b, c" })).toEqual(["a b", "c"]);
@@ -53,16 +56,16 @@ describe("ScopePreset", () => {
53
56
  "read thunder", "write thunder", "manage base_workflows", "create base_users", "list forge", "manage integrations",
54
57
  "view_transactions protokol-payments", "refund_transaction protokol-payments", "void_transaction protokol-payments",
55
58
  "read protokol-mail", "send protokol-mail", "manage timber", "write timber",
56
- "use protokol-media", "utilities protokol-media", "upload protokol-media",
59
+ "use protokol-media", "utilities protokol-media", "ocr::extract protokol-media", "upload protokol-media",
57
60
  "read_documents protokol-media", "create_document protokol-media", "edit_document protokol-media", "delete_document protokol-media"
58
61
  ]));
59
- for (const bad of ["admin", "manage forge"])
62
+ for (const bad of ["admin", "manage forge", "get global_env"])
60
63
  expect(ScopePreset.permissions).not.toContain(bad);
61
64
  const wire = ScopePreset.toWire(ScopePreset.permissions);
62
65
  expect(wire).toContain(`perm64:${Buffer.from("write thunder").toString("base64url")}`);
63
66
  });
64
67
  it("asks for API-user management and secrets by default", () => {
65
- expect(ScopePreset.permissions).toEqual(expect.arrayContaining(["edit base_users", "manage_secrets base_users", "dev env_access"]));
68
+ expect(ScopePreset.permissions).toEqual(expect.arrayContaining(["edit base_users", "credentials::manage base_users", "dev env_access"]));
66
69
  });
67
70
  });
68
71
  describe("authorize URL", () => {
@@ -0,0 +1,51 @@
1
+ import { createInterface } from "readline";
2
+ /** Chooser for the identity a new function or workflow runs as (core/platform#314). */
3
+ export default class RunIdentityService {
4
+ http;
5
+ interactive;
6
+ ask;
7
+ /** `http` is only needed by `forCreate`. */
8
+ constructor(http, interactive = Boolean(process.stdin.isTTY && process.stdout.isTTY), ask = askOnTerminal) {
9
+ this.http = http;
10
+ this.interactive = interactive;
11
+ this.ask = ask;
12
+ }
13
+ /** Adds the top-level `run_as`; with no value the payload is left alone so an update keeps the stored identity. */
14
+ withRunAs(payload, runAs) {
15
+ return runAs ? { ...payload, run_as: runAs } : payload;
16
+ }
17
+ /** The identity for a create: the flag, else a pick when interactive, else none and the server decides. */
18
+ async forCreate(runAs) {
19
+ if (runAs || !this.interactive || !this.http)
20
+ return runAs;
21
+ let identities;
22
+ try {
23
+ const res = await this.http.get("/v1/system/run-identity/choices");
24
+ identities = res.data?.identities ?? [];
25
+ }
26
+ catch (err) {
27
+ if (err?.response?.status === 404)
28
+ return undefined; // older server
29
+ throw err;
30
+ }
31
+ if (identities.length === 0)
32
+ return undefined;
33
+ return this.ask(identities);
34
+ }
35
+ }
36
+ async function askOnTerminal(identities) {
37
+ console.error("Run as which identity?");
38
+ identities.forEach((i, n) => console.error(` ${n + 1}) ${i.name} (${i.kind}) ${i.prn}`));
39
+ const rl = createInterface({ input: process.stdin, output: process.stderr });
40
+ try {
41
+ for (;;) {
42
+ const answer = await new Promise((done) => rl.question(`Choose 1-${identities.length}: `, done));
43
+ const pick = identities[Number(answer.trim()) - 1];
44
+ if (pick)
45
+ return pick.prn;
46
+ }
47
+ }
48
+ finally {
49
+ rl.close();
50
+ }
51
+ }
@@ -0,0 +1,98 @@
1
+ /** Thunder read options as `POST /v3/system/thunder` expects them under `options`.
2
+ *
3
+ * The SDK's `ThunderReadOptions` only declares `only`/`cacheTTL`, but `Thunder.read()` forwards every
4
+ * other field of the options object verbatim and the platform decodes `skip`/`limit`/`sort` as well.
5
+ * This type is the toolkit-side view of that wire contract, so a `Paginate` read can actually carry a
6
+ * page size, an offset and a sort. See core/toolkit#17. */
7
+ /** Thunder caps a type at 100 documents, so one page covers most types while still being a page. */
8
+ export const DEFAULT_PAGE_SIZE = 20;
9
+ function parseCount(option, raw, min) {
10
+ if (raw === undefined)
11
+ return undefined;
12
+ const text = String(raw);
13
+ if (!/^\d+$/.test(text)) {
14
+ throw new Error(`${option} must be an integer >= ${min}`);
15
+ }
16
+ const value = Number(text);
17
+ if (!Number.isSafeInteger(value) || value < min) {
18
+ throw new Error(`${option} must be an integer >= ${min}`);
19
+ }
20
+ return value;
21
+ }
22
+ /** Translate `--sort` JSON into the platform's sort list.
23
+ *
24
+ * Accepts the friendly forms `{"data.n":-1}`, `{"data.n":-1,"updated_at":1}` and
25
+ * `[{"data.n":-1},{"updated_at":1}]`; the API's own `bson.D` shape (`[{"Key":"data.n","Value":-1}]`)
26
+ * drags Go field names into the CLI and `[{"data.n":-1}]` is silently dropped by the platform, so the
27
+ * CLI takes one documented shape and emits the other.
28
+ *
29
+ * Keys are Mongo field paths, not the bare names `--filters`/`--only` take: the platform prefixes
30
+ * those with `data.` but passes sort keys through untouched, so a user field sorts as `data.n` while
31
+ * `_id`, `updated_at` and friends stay top-level. */
32
+ export function parseSort(raw) {
33
+ let parsed;
34
+ try {
35
+ parsed = JSON.parse(raw);
36
+ }
37
+ catch {
38
+ throw new Error('--sort must be valid JSON, e.g. \'{"data.n":-1}\' or \'[{"data.n":-1},{"updated_at":1}]\'');
39
+ }
40
+ const entries = Array.isArray(parsed) ? parsed : [parsed];
41
+ if (entries.length === 0) {
42
+ throw new Error("--sort must name at least one field");
43
+ }
44
+ const sort = [];
45
+ entries.forEach((entry, index) => {
46
+ if (entry === null || typeof entry !== "object" || Array.isArray(entry)) {
47
+ throw new Error(`--sort entry ${index} must be an object like {"data.field":1}`);
48
+ }
49
+ const fields = Object.entries(entry);
50
+ if (fields.length === 0) {
51
+ throw new Error(`--sort entry ${index} must name at least one field`);
52
+ }
53
+ for (const [Key, Value] of fields) {
54
+ if (!Key.trim()) {
55
+ throw new Error(`--sort entry ${index} must name a field`);
56
+ }
57
+ if (Value !== 1 && Value !== -1) {
58
+ throw new Error(`--sort ${Key} must be 1 (ascending) or -1 (descending)`);
59
+ }
60
+ sort.push({ Key, Value });
61
+ }
62
+ });
63
+ return sort;
64
+ }
65
+ /** Options shared by every Thunder read flag. Returns `undefined` when the caller set none, so the
66
+ * request body keeps omitting `options` exactly as before. */
67
+ export function readOptions(opts) {
68
+ const options = {};
69
+ if (opts.only) {
70
+ options.only = String(opts.only).split(",").map((s) => s.trim()).filter(Boolean);
71
+ }
72
+ const cacheTTL = parseCount("--cache-ttl", opts.cacheTtl, 0);
73
+ if (cacheTTL !== undefined)
74
+ options.cacheTTL = cacheTTL;
75
+ return Object.keys(options).length ? options : undefined;
76
+ }
77
+ /** Options for a `Paginate` read. Unlike the platform, the CLI always sends a page size: a Paginate
78
+ * request without `limit` answers an empty page, which is the defect this exists to fix
79
+ * (core/toolkit#17). */
80
+ export function paginateOptions(opts) {
81
+ const options = { ...readOptions(opts) };
82
+ options.limit = parseCount("--limit", opts.limit, 1) ?? DEFAULT_PAGE_SIZE;
83
+ options.skip = parseCount("--skip", opts.skip, 0) ?? 0;
84
+ if (opts.sort !== undefined)
85
+ options.sort = parseSort(String(opts.sort));
86
+ return options;
87
+ }
88
+ /** Options for the low-level `read` command: the page options belong to `Paginate` only, so reject
89
+ * them on any other flag instead of sending fields the platform ignores. */
90
+ export function readFlagOptions(flag, opts) {
91
+ if (flag !== "Paginate") {
92
+ if (opts.limit !== undefined || opts.skip !== undefined || opts.sort !== undefined) {
93
+ throw new Error("--limit, --skip and --sort only apply to --flag Paginate");
94
+ }
95
+ return readOptions(opts);
96
+ }
97
+ return paginateOptions(opts);
98
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ptkl/toolkit",
3
- "version": "1.4.4",
3
+ "version": "1.6.0",
4
4
  "description": "A command-line toolkit for managing Protokol platform applications, profiles, functions, and components",
5
5
  "keywords": [
6
6
  "protokol",
@@ -37,7 +37,7 @@
37
37
  "@babel/preset-typescript": "^7.28.5",
38
38
  "@babel/standalone": "^7.26.10",
39
39
  "@inquirer/password": "^4.0.21",
40
- "@ptkl/sdk": "^1.14.0",
40
+ "@ptkl/sdk": "^1.23.0",
41
41
  "@rollup/plugin-babel": "^6.1.0",
42
42
  "@rollup/plugin-commonjs": "^29.0.0",
43
43
  "@rollup/plugin-node-resolve": "^16.0.3",