@nathanstephenson/flow 0.1.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 (141) hide show
  1. package/README.md +641 -0
  2. package/build/workflow-runtime.cjs +213964 -0
  3. package/dist/backend/claude/async-queue.js +44 -0
  4. package/dist/backend/claude/auto-compaction.js +10 -0
  5. package/dist/backend/claude/background-calls.js +116 -0
  6. package/dist/backend/claude/enquiries.js +162 -0
  7. package/dist/backend/claude/index.js +1138 -0
  8. package/dist/backend/claude/mcp.js +55 -0
  9. package/dist/backend/claude/permissions.js +106 -0
  10. package/dist/backend/claude/streamed-message.js +120 -0
  11. package/dist/backend/claude/subagents.js +128 -0
  12. package/dist/backend/claude/workflow-parent.js +12 -0
  13. package/dist/backend/claude/workflow-processes.js +95 -0
  14. package/dist/backend/claude/workflow-subagent.js +234 -0
  15. package/dist/backend/effort.js +30 -0
  16. package/dist/backend/fake/index.js +570 -0
  17. package/dist/backend/mcp.js +190 -0
  18. package/dist/backend/pi/auto-compaction.js +16 -0
  19. package/dist/backend/pi/background-calls.js +56 -0
  20. package/dist/backend/pi/enquiries.js +63 -0
  21. package/dist/backend/pi/index.js +597 -0
  22. package/dist/backend/pi/mcp.js +35 -0
  23. package/dist/backend/pi/subagents.js +23 -0
  24. package/dist/backend/pi/work.js +104 -0
  25. package/dist/backend/pi/workflow-parent.js +21 -0
  26. package/dist/backend/pi/workflow-subagent.js +199 -0
  27. package/dist/backend/registry.js +34 -0
  28. package/dist/backend/types.js +1 -0
  29. package/dist/backend/workflow-tools.js +25 -0
  30. package/dist/build-id +1 -0
  31. package/dist/cli/application.js +397 -0
  32. package/dist/cli/bootstrap.js +535 -0
  33. package/dist/cli/host-control.js +100 -0
  34. package/dist/cli/install-guard.js +270 -0
  35. package/dist/cli/install-process.js +52 -0
  36. package/dist/cli/main.js +12 -0
  37. package/dist/cli/update.js +128 -0
  38. package/dist/client/connection.js +183 -0
  39. package/dist/client/context-usage.js +66 -0
  40. package/dist/client/diff.js +36 -0
  41. package/dist/client/enquiry.js +105 -0
  42. package/dist/client/markdown.js +192 -0
  43. package/dist/client/model-choices.js +32 -0
  44. package/dist/client/permission.js +60 -0
  45. package/dist/client/project-name.js +19 -0
  46. package/dist/client/reduce.js +463 -0
  47. package/dist/client/relative-time.js +30 -0
  48. package/dist/client/scope-kind.js +28 -0
  49. package/dist/client/search.js +136 -0
  50. package/dist/client/session-label.js +9 -0
  51. package/dist/client/status.js +84 -0
  52. package/dist/client/tool-chains.js +52 -0
  53. package/dist/client/tool-summary.js +98 -0
  54. package/dist/daemon/auth.js +590 -0
  55. package/dist/daemon/config-store.js +183 -0
  56. package/dist/daemon/config.js +687 -0
  57. package/dist/daemon/credential-redaction.js +9 -0
  58. package/dist/daemon/git.js +312 -0
  59. package/dist/daemon/host-control-routes.js +29 -0
  60. package/dist/daemon/host.js +2343 -0
  61. package/dist/daemon/http.js +19 -0
  62. package/dist/daemon/log.js +44 -0
  63. package/dist/daemon/mcp-auth.js +164 -0
  64. package/dist/daemon/models.js +85 -0
  65. package/dist/daemon/ownership.js +104 -0
  66. package/dist/daemon/projects.js +317 -0
  67. package/dist/daemon/publish.js +289 -0
  68. package/dist/daemon/pull-request.js +198 -0
  69. package/dist/daemon/runtime.js +100 -0
  70. package/dist/daemon/secret-store.js +65 -0
  71. package/dist/daemon/server.js +827 -0
  72. package/dist/daemon/shell.js +220 -0
  73. package/dist/daemon/skills.js +104 -0
  74. package/dist/daemon/stack-metadata.js +24 -0
  75. package/dist/daemon/stack.js +743 -0
  76. package/dist/daemon/store.js +130 -0
  77. package/dist/daemon/summariser.js +476 -0
  78. package/dist/daemon/workflow-execution-routes.js +105 -0
  79. package/dist/daemon/workflow-executions.js +1018 -0
  80. package/dist/daemon/workflow-mcp.js +20 -0
  81. package/dist/daemon/workflow-routes.js +102 -0
  82. package/dist/protocol/attachments.js +59 -0
  83. package/dist/protocol/commands.js +1 -0
  84. package/dist/protocol/events.js +20 -0
  85. package/dist/protocol/fonts.js +26 -0
  86. package/dist/protocol/git.js +12 -0
  87. package/dist/protocol/mcp.js +51 -0
  88. package/dist/protocol/projects.js +21 -0
  89. package/dist/protocol/publish.js +1 -0
  90. package/dist/protocol/pull-request.js +1 -0
  91. package/dist/protocol/secrets.js +4 -0
  92. package/dist/protocol/settings.js +63 -0
  93. package/dist/protocol/shells.js +8 -0
  94. package/dist/protocol/skills.js +16 -0
  95. package/dist/protocol/stack.js +41 -0
  96. package/dist/protocol/workflow-executions.js +1 -0
  97. package/dist/protocol/workflows.js +1 -0
  98. package/dist/tui/app.js +518 -0
  99. package/dist/tui/keys.js +54 -0
  100. package/dist/tui/render.js +366 -0
  101. package/dist/web/assets.js +10 -0
  102. package/dist/web/embedded.js +12 -0
  103. package/dist/web/manifest.js +70 -0
  104. package/dist/workflows/decisions.js +65 -0
  105. package/dist/workflows/executors.js +132 -0
  106. package/dist/workflows/graph.js +276 -0
  107. package/dist/workflows/json-schema.js +49 -0
  108. package/dist/workflows/loops.js +102 -0
  109. package/dist/workflows/mcp.js +18 -0
  110. package/dist/workflows/records.js +111 -0
  111. package/dist/workflows/recovery.js +25 -0
  112. package/dist/workflows/runtime-asset.js +17 -0
  113. package/dist/workflows/runtime-libs.js +1 -0
  114. package/dist/workflows/runtime-settings.js +23 -0
  115. package/dist/workflows/runtime.js +343 -0
  116. package/dist/workflows/scheduler.js +573 -0
  117. package/dist/workflows/schema.js +161 -0
  118. package/dist/workflows/store.js +93 -0
  119. package/package.json +87 -0
  120. package/web/dist/assets/__vite-browser-external-2447137e-BvRk9kiK.js +0 -0
  121. package/web/dist/assets/ghostty-vt-DOMeXDrv.wasm +0 -0
  122. package/web/dist/assets/index-BC0gLS53.js +106 -0
  123. package/web/dist/assets/index-CCeZYKES.css +2 -0
  124. package/web/dist/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  125. package/web/dist/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  126. package/web/dist/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  127. package/web/dist/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  128. package/web/dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  129. package/web/dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  130. package/web/dist/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  131. package/web/dist/assets/rolldown-runtime-B0Z9INg1.js +1 -0
  132. package/web/dist/assets/select-6i3wxovH.js +1 -0
  133. package/web/dist/assets/settings-mcp-CcT0ADJR.js +1 -0
  134. package/web/dist/assets/settings-secrets-CK4uF7fd.js +1 -0
  135. package/web/dist/assets/settings-workflows-CrbZF-nM.js +23 -0
  136. package/web/dist/assets/switch-ftZleVB8.js +6 -0
  137. package/web/dist/assets/workflow-editors-naPqAmYO.js +65 -0
  138. package/web/dist/assets/workflows-D4T4Gy_7.css +1 -0
  139. package/web/dist/assets/workflows-hh6ioeEA.js +7 -0
  140. package/web/dist/assets/workflows-pane-Db-MHf7Z.js +1 -0
  141. package/web/dist/index.html +31 -0
@@ -0,0 +1,161 @@
1
+ import { compileJsonSchema, validateJsonSchema, jsonSchemaAt } from "./json-schema.js";
2
+ import { z } from 'zod';
3
+ export const dictionaryKey = z.string().refine(key => !['__proto__', 'constructor', 'prototype'].includes(key), 'Reserved dictionary key');
4
+ export function dictionaryRecord(value) {
5
+ return z.unknown().superRefine((input, context) => {
6
+ if (input && typeof input === 'object') {
7
+ for (const key of Object.keys(input)) {
8
+ if (!dictionaryKey.safeParse(key).success)
9
+ context.addIssue({ code: 'custom', message: 'Reserved dictionary key', path: [key] });
10
+ }
11
+ }
12
+ }).pipe(z.record(dictionaryKey, value));
13
+ }
14
+ const jsonSchema = z.lazy(() => z.union([z.null(), z.boolean(), z.number(), z.string(), z.array(jsonSchema), z.record(z.string(), jsonSchema)]));
15
+ export const visualSchemaValidator = z.lazy(() => z.discriminatedUnion('type', [
16
+ z.object({ type: z.literal('null') }).strict(),
17
+ z.object({ type: z.literal('json'), schema: z.union([z.boolean(), z.record(z.string(), jsonSchema)]).optional() }).strict(),
18
+ z.object({ type: z.literal('string') }).strict(),
19
+ z.object({ type: z.literal('number'), integer: z.boolean().optional() }).strict(),
20
+ z.object({ type: z.literal('boolean') }).strict(),
21
+ z.object({ type: z.literal('enum'), values: z.array(z.string()).min(1).refine(values => new Set(values).size === values.length) }).strict(),
22
+ z.object({ type: z.literal('array'), items: visualSchemaValidator }).strict(),
23
+ z.object({ type: z.literal('union'), variants: z.array(visualSchemaValidator).min(2) }).strict(),
24
+ z.object({ type: z.literal('object'), fields: dictionaryRecord(z.object({ schema: visualSchemaValidator, required: z.boolean().optional(), default: jsonSchema.optional() }).strict()) }).strict(),
25
+ ]));
26
+ export function toZod(schema) {
27
+ switch (schema.type) {
28
+ case 'null': return z.null();
29
+ case 'json': {
30
+ if (schema.schema !== undefined)
31
+ compileJsonSchema(schema.schema);
32
+ return jsonSchema.superRefine((value, ctx) => { try {
33
+ if (schema.schema !== undefined)
34
+ validateJsonSchema(schema.schema, value);
35
+ }
36
+ catch (error) {
37
+ ctx.addIssue({ code: 'custom', message: error.message });
38
+ } });
39
+ }
40
+ case 'string': return z.string();
41
+ case 'number': return schema.integer ? z.number().int() : z.number();
42
+ case 'boolean': return z.boolean();
43
+ case 'enum': return z.enum(schema.values);
44
+ case 'array': return z.array(toZod(schema.items));
45
+ case 'union': return z.union(schema.variants.map(toZod));
46
+ case 'object': return z.object(Object.fromEntries(Object.entries(schema.fields).map(([key, field]) => {
47
+ let validator = toZod(field.schema);
48
+ if (field.default !== undefined)
49
+ validator = validator.default(parseValue(field.schema, field.default));
50
+ else if (!field.required)
51
+ validator = validator.optional();
52
+ return [key, validator];
53
+ }))).strict();
54
+ }
55
+ }
56
+ export function parseValue(schema, value) {
57
+ return jsonSchema.parse(toZod(schema).parse(value));
58
+ }
59
+ export function validateSchema(schema) {
60
+ visualSchemaValidator.parse(schema);
61
+ toZod(schema);
62
+ }
63
+ export function toTypeScript(schema) {
64
+ switch (schema.type) {
65
+ case 'json': return 'unknown';
66
+ case 'enum': return schema.values.map(value => JSON.stringify(value)).join(' | ');
67
+ case 'array': return `Array<${toTypeScript(schema.items)}>`;
68
+ case 'union': return schema.variants.map(toTypeScript).join(' | ');
69
+ case 'object': return `{ ${Object.entries(schema.fields).map(([name, field]) => `${JSON.stringify(name)}${field.required || field.default !== undefined ? '' : '?'}: ${toTypeScript(field.schema)}`).join('; ')} }`;
70
+ default: return schema.type;
71
+ }
72
+ }
73
+ export const shellOutputSchema = { type: 'object', fields: {
74
+ exitCode: { schema: { type: 'number', integer: true }, required: true },
75
+ stdout: { schema: { type: 'string' }, required: true },
76
+ stderr: { schema: { type: 'string' }, required: true },
77
+ } };
78
+ export function declaredOutputSchema(step) {
79
+ if (step.kind === 'mcp')
80
+ return { type: 'object', fields: { structuredContent: { required: true, schema: { type: 'json', ...(step.tool.outputSchema === undefined ? {} : { schema: step.tool.outputSchema }) } }, content: { required: true, schema: { type: 'array', items: { type: 'json' } } } } };
81
+ if (step.kind === 'shell')
82
+ return shellOutputSchema;
83
+ if (step.kind === 'branch')
84
+ return { type: 'boolean' };
85
+ if (step.kind === 'join')
86
+ return undefined;
87
+ return step.outputSchema;
88
+ }
89
+ export function schemaAt(schema, path) {
90
+ if (!path.length)
91
+ return { schema, optional: false };
92
+ if (schema.type === 'json')
93
+ return { schema: { type: 'json', schema: jsonSchemaAt(schema.schema ?? true, path) }, optional: false };
94
+ if (schema.type === 'null')
95
+ return { schema: { type: 'json' }, optional: false };
96
+ if (schema.type === 'union') {
97
+ const fields = schema.variants.map(variant => schemaAt(variant, path));
98
+ return { schema: unionSchema(fields.map(field => field.schema)), optional: fields.some(field => field.optional) };
99
+ }
100
+ const [key, ...rest] = path;
101
+ if (schema.type === 'object') {
102
+ const field = Object.hasOwn(schema.fields, key) ? schema.fields[key] : undefined;
103
+ if (!field)
104
+ throw new Error(`Unknown field: ${key}`);
105
+ const nested = schemaAt(field.schema, rest);
106
+ return { schema: nested.schema, optional: nested.optional || (!field.required && field.default === undefined) };
107
+ }
108
+ if (schema.type === 'array' && /^(0|[1-9]\d*)$/.test(key))
109
+ return { schema: schemaAt(schema.items, rest).schema, optional: true };
110
+ throw new Error(`Invalid field path: ${key}`);
111
+ }
112
+ export function schemaAssignable(source, target) {
113
+ if (target.type === 'json')
114
+ return true;
115
+ if (source.type === 'json')
116
+ return true; // Resolved values are checked at the consuming step.
117
+ if (source.type === 'union')
118
+ return source.variants.every(variant => schemaAssignable(variant, target));
119
+ if (target.type === 'union')
120
+ return target.variants.some(variant => schemaAssignable(source, variant));
121
+ if (source.type === 'enum')
122
+ return target.type === 'string' || (target.type === 'enum' && source.values.every(value => target.values.includes(value)));
123
+ if (source.type !== target.type)
124
+ return false;
125
+ if (source.type === 'number' && target.type === 'number')
126
+ return !target.integer || !!source.integer;
127
+ if (source.type === 'array' && target.type === 'array')
128
+ return schemaAssignable(source.items, target.items);
129
+ if (source.type === 'object' && target.type === 'object') {
130
+ return Object.keys(source.fields).every(name => Object.hasOwn(target.fields, name)) && Object.entries(target.fields).every(([name, field]) => {
131
+ const supplied = Object.hasOwn(source.fields, name) ? source.fields[name] : undefined;
132
+ const required = field.required && field.default === undefined;
133
+ if (!supplied)
134
+ return !required;
135
+ return (!required || supplied.required || supplied.default !== undefined) && schemaAssignable(supplied.schema, field.schema);
136
+ });
137
+ }
138
+ return true;
139
+ }
140
+ export function partialSchema(schema) {
141
+ if (schema.type === 'object')
142
+ return { type: 'object', fields: Object.fromEntries(Object.entries(schema.fields).map(([name, field]) => [name, { schema: partialSchema(field.schema) }])) };
143
+ if (schema.type === 'array')
144
+ return { type: 'array', items: partialSchema(schema.items) };
145
+ if (schema.type === 'union')
146
+ return unionSchema(schema.variants.map(partialSchema));
147
+ return schema;
148
+ }
149
+ export function unionSchema(schemas) {
150
+ const unique = [...new Map(schemas.map(schema => [JSON.stringify(schema), schema])).values()];
151
+ return unique.length === 1 ? unique[0] : { type: 'union', variants: unique };
152
+ }
153
+ export function valueAt(value, path) {
154
+ let current = value;
155
+ for (const key of path) {
156
+ if (current === null || typeof current !== 'object' || !Object.hasOwn(current, key))
157
+ return undefined;
158
+ current = current[key];
159
+ }
160
+ return current;
161
+ }
@@ -0,0 +1,93 @@
1
+ import { randomUUID } from 'node:crypto';
2
+ import { closeSync, existsSync, fsyncSync, mkdirSync, openSync, readFileSync, readdirSync, renameSync, rmSync, writeFileSync } from 'node:fs';
3
+ import { dirname, join } from 'node:path';
4
+ import { validateDefinition } from "./graph.js";
5
+ import { parseExecution } from "./records.js";
6
+ function segment(value) {
7
+ if (!/^[a-zA-Z0-9_-]+$/.test(value))
8
+ throw new Error('Invalid storage ID');
9
+ return value;
10
+ }
11
+ function readJson(path) {
12
+ return JSON.parse(readFileSync(path, 'utf8'));
13
+ }
14
+ function syncDirectory(directory) {
15
+ const fd = openSync(directory, 'r');
16
+ try {
17
+ fsyncSync(fd);
18
+ }
19
+ finally {
20
+ closeSync(fd);
21
+ }
22
+ }
23
+ function durableDirectory(directory) {
24
+ if (existsSync(directory))
25
+ return;
26
+ const parent = dirname(directory);
27
+ durableDirectory(parent);
28
+ mkdirSync(directory, { mode: 0o700 });
29
+ syncDirectory(parent);
30
+ }
31
+ function atomicWrite(directory, id, value) {
32
+ segment(id);
33
+ durableDirectory(directory);
34
+ const temporary = join(directory, `.${randomUUID()}.tmp`);
35
+ const fd = openSync(temporary, 'wx', 0o600);
36
+ try {
37
+ writeFileSync(fd, JSON.stringify(value));
38
+ fsyncSync(fd);
39
+ }
40
+ finally {
41
+ closeSync(fd);
42
+ }
43
+ try {
44
+ renameSync(temporary, join(directory, `${segment(id)}.json`));
45
+ syncDirectory(directory);
46
+ }
47
+ finally {
48
+ rmSync(temporary, { force: true });
49
+ }
50
+ }
51
+ function ids(directory) {
52
+ return existsSync(directory) ? readdirSync(directory).filter(name => name.endsWith('.json')).map(name => name.slice(0, -5)) : [];
53
+ }
54
+ export class WorkflowStore {
55
+ stateRoot;
56
+ redact = value => value;
57
+ constructor(stateRoot) { this.stateRoot = stateRoot; }
58
+ saveDefinition(definition) {
59
+ const validated = validateDefinition(definition).definition;
60
+ atomicWrite(join(this.stateRoot, 'workflows'), validated.id, this.redact(validated));
61
+ }
62
+ getDefinition(id) {
63
+ return validateDefinition(readJson(join(this.stateRoot, 'workflows', `${segment(id)}.json`))).definition;
64
+ }
65
+ listDefinitions() {
66
+ return ids(join(this.stateRoot, 'workflows')).map(id => this.getDefinition(id));
67
+ }
68
+ deleteDefinition(id) {
69
+ const directory = join(this.stateRoot, 'workflows');
70
+ rmSync(join(directory, `${segment(id)}.json`), { force: true });
71
+ if (existsSync(directory))
72
+ syncDirectory(directory);
73
+ }
74
+ saveExecution(execution) {
75
+ atomicWrite(this.historyPath(execution.sessionId), execution.id, this.redact(execution));
76
+ }
77
+ getExecution(sessionId, id) {
78
+ const value = parseExecution(readJson(join(this.historyPath(sessionId), `${segment(id)}.json`)));
79
+ if (value.id !== id || value.sessionId !== sessionId)
80
+ throw new Error('Invalid workflow execution identity');
81
+ return value;
82
+ }
83
+ listExecutions(sessionId) {
84
+ return ids(this.historyPath(sessionId)).map(id => this.getExecution(sessionId, id));
85
+ }
86
+ listSessionIds() {
87
+ const directory = join(this.stateRoot, 'sessions');
88
+ return existsSync(directory) ? readdirSync(directory, { withFileTypes: true }).filter(entry => entry.isDirectory()).map(entry => entry.name) : [];
89
+ }
90
+ historyPath(sessionId) {
91
+ return join(this.stateRoot, 'sessions', segment(sessionId), 'workflows');
92
+ }
93
+ }
package/package.json ADDED
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "@nathanstephenson/flow",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/nathanstephenson/flow.git"
8
+ },
9
+ "engines": {
10
+ "node": ">=22"
11
+ },
12
+ "bin": {
13
+ "flow": "./dist/cli/bootstrap.js"
14
+ },
15
+ "files": [
16
+ "dist/",
17
+ "web/dist/",
18
+ "build/workflow-runtime.cjs"
19
+ ],
20
+ "scripts": {
21
+ "build": "node scripts/build-cli.mjs",
22
+ "prepack": "npm run build && npm run build:web && npm run build:workflow-runtime",
23
+ "test:package": "node scripts/test-package.mjs",
24
+ "build:workflow-runtime": "node scripts/build-workflow-runtime.mjs",
25
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.presentation.json && tsc -p web/tsconfig.json --noEmit && tsc -p web/tsconfig.node.json --noEmit",
26
+ "dev": "vite --config web/vite.config.ts",
27
+ "test": "node --test --experimental-strip-types \"test/**/*.test.ts\" \"web/**/*.test.ts\"",
28
+ "spike:auth": "node --experimental-strip-types spikes/subscription-auth.ts",
29
+ "test:oidc-issuer": "node --experimental-strip-types scripts/test-oidc-issuer.ts",
30
+ "prestart": "npm run build:web && npm run build:workflow-runtime",
31
+ "start": "node --experimental-strip-types src/cli/main.ts",
32
+ "spike:adapter": "node --experimental-strip-types spikes/adapter-smoke.ts",
33
+ "build:web": "node scripts/build-web.mjs",
34
+ "prebuild:binary": "npm run build:web",
35
+ "build:binary": "node --experimental-strip-types scripts/build-binary.mjs"
36
+ },
37
+ "dependencies": {
38
+ "@anthropic-ai/claude-agent-sdk": "^0.3.247",
39
+ "@codemirror/lang-javascript": "^6.2.5",
40
+ "@earendil-works/pi-coding-agent": "^0.85.1",
41
+ "@modelcontextprotocol/sdk": "^1.30.0",
42
+ "@xyflow/react": "^12.11.6",
43
+ "ajv": "^8.20.0",
44
+ "ajv-formats": "^3.0.1",
45
+ "jose": "^6.2.12",
46
+ "marked": "^18.0.11",
47
+ "node-pty": "^1.1.0",
48
+ "openid-client": "^6.8.8",
49
+ "quickjs-emscripten": "^0.32.0",
50
+ "typebox": "^1.3.7",
51
+ "typescript": "^5.9.3",
52
+ "ws": "^8.21.3",
53
+ "zod": "^4.6.5"
54
+ },
55
+ "devDependencies": {
56
+ "@base-ui/react": "^1.7.0",
57
+ "@codemirror/commands": "^6.11.0",
58
+ "@codemirror/language": "^6.12.4",
59
+ "@codemirror/state": "^6.7.4",
60
+ "@codemirror/view": "^6.43.11",
61
+ "@fontsource-variable/inter": "^5.3.0",
62
+ "@lezer/common": "^1.5.2",
63
+ "@lezer/highlight": "^1.2.3",
64
+ "@lezer/markdown": "^1.7.2",
65
+ "@tailwindcss/vite": "^4.3.3",
66
+ "@types/node": "^22.20.1",
67
+ "@types/oidc-provider": "^9.12.1",
68
+ "@types/react": "^19.2.18",
69
+ "@types/react-dom": "^19.2.5",
70
+ "@types/ws": "^8.18.1",
71
+ "@vitejs/plugin-react": "^6.1.1",
72
+ "class-variance-authority": "^0.7.1",
73
+ "clsx": "^2.1.1",
74
+ "esbuild": "^0.28.2",
75
+ "ghostty-web": "^0.4.0",
76
+ "lucide-react": "^1.39.0",
77
+ "oidc-provider": "^9.12.2",
78
+ "postject": "^1.0.0-alpha.6",
79
+ "react": "^19.2.8",
80
+ "react-dom": "^19.2.8",
81
+ "shadcn": "^4.19.1",
82
+ "tailwind-merge": "^3.6.0",
83
+ "tailwindcss": "^4.3.3",
84
+ "tw-animate-css": "^1.4.0",
85
+ "vite": "^8.2.2"
86
+ }
87
+ }