@dxos/cli 0.6.10 → 0.6.11-staging.e6894a4

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.
@@ -2395,159 +2395,6 @@
2395
2395
  "update.js"
2396
2396
  ]
2397
2397
  },
2398
- "function:dev": {
2399
- "aliases": [
2400
- "function:dev-server"
2401
- ],
2402
- "args": {},
2403
- "description": "Functions development server.",
2404
- "examples": [
2405
- {
2406
- "description": "Run with TypeScript support.",
2407
- "command": "dx function dev -r ts-node/register --verbose"
2408
- }
2409
- ],
2410
- "flags": {
2411
- "json": {
2412
- "description": "Output as JSON.",
2413
- "name": "json",
2414
- "allowNo": false,
2415
- "type": "boolean"
2416
- },
2417
- "verbose": {
2418
- "char": "v",
2419
- "description": "Verbose output",
2420
- "name": "verbose",
2421
- "allowNo": false,
2422
- "type": "boolean"
2423
- },
2424
- "dry-run": {
2425
- "description": "Dry run.",
2426
- "name": "dry-run",
2427
- "allowNo": false,
2428
- "type": "boolean"
2429
- },
2430
- "profile": {
2431
- "description": "User profile.",
2432
- "env": "DX_PROFILE",
2433
- "name": "profile",
2434
- "default": "default",
2435
- "hasDynamicHelp": false,
2436
- "multiple": false,
2437
- "type": "option"
2438
- },
2439
- "config": {
2440
- "aliases": [
2441
- "c"
2442
- ],
2443
- "dependsOn": [
2444
- "profile"
2445
- ],
2446
- "description": "Config file.",
2447
- "env": "DX_CONFIG",
2448
- "name": "config",
2449
- "default": "/home/runner/.config/dx/profile/default.yml",
2450
- "hasDynamicHelp": false,
2451
- "helpValue": "path",
2452
- "multiple": false,
2453
- "type": "option"
2454
- },
2455
- "timeout": {
2456
- "aliases": [
2457
- "t"
2458
- ],
2459
- "description": "Timeout (ms).",
2460
- "name": "timeout",
2461
- "default": 60000,
2462
- "hasDynamicHelp": false,
2463
- "multiple": false,
2464
- "type": "option"
2465
- },
2466
- "target": {
2467
- "description": "Target websocket server.",
2468
- "name": "target",
2469
- "hasDynamicHelp": false,
2470
- "multiple": false,
2471
- "type": "option"
2472
- },
2473
- "agent": {
2474
- "description": "Run command with agent.",
2475
- "env": "DX_NO_AGENT",
2476
- "name": "agent",
2477
- "allowNo": true,
2478
- "type": "boolean"
2479
- },
2480
- "json-log": {
2481
- "description": "When running in foreground, log JSON format",
2482
- "name": "json-log",
2483
- "allowNo": false,
2484
- "type": "boolean"
2485
- },
2486
- "json-logfile": {
2487
- "description": "JSON log file destination, or 'stdout' or 'stderr'",
2488
- "name": "json-logfile",
2489
- "default": "stderr",
2490
- "hasDynamicHelp": false,
2491
- "multiple": false,
2492
- "type": "option"
2493
- },
2494
- "key": {
2495
- "description": "Space key(s) head in hex.",
2496
- "name": "key",
2497
- "hasDynamicHelp": false,
2498
- "multiple": true,
2499
- "type": "option"
2500
- },
2501
- "require": {
2502
- "aliases": [
2503
- "r"
2504
- ],
2505
- "name": "require",
2506
- "default": [
2507
- "ts-node/register"
2508
- ],
2509
- "hasDynamicHelp": false,
2510
- "multiple": true,
2511
- "type": "option"
2512
- },
2513
- "manifest": {
2514
- "description": "Functions manifest file.",
2515
- "name": "manifest",
2516
- "hasDynamicHelp": false,
2517
- "multiple": false,
2518
- "type": "option"
2519
- },
2520
- "baseDir": {
2521
- "description": "Base directory for function handlers.",
2522
- "name": "baseDir",
2523
- "hasDynamicHelp": false,
2524
- "multiple": false,
2525
- "type": "option"
2526
- },
2527
- "reload": {
2528
- "description": "Reload functions on change.",
2529
- "name": "reload",
2530
- "allowNo": false,
2531
- "type": "boolean"
2532
- }
2533
- },
2534
- "hasDynamicHelp": false,
2535
- "hiddenAliases": [],
2536
- "id": "function:dev",
2537
- "pluginAlias": "@dxos/cli",
2538
- "pluginName": "@dxos/cli",
2539
- "pluginType": "core",
2540
- "strict": true,
2541
- "enableJsonFlag": true,
2542
- "isESM": false,
2543
- "relativePath": [
2544
- "dist",
2545
- "src",
2546
- "commands",
2547
- "function",
2548
- "dev.js"
2549
- ]
2550
- },
2551
2398
  "function:list": {
2552
2399
  "aliases": [],
2553
2400
  "args": {},
@@ -5233,7 +5080,7 @@
5233
5080
  "name": {
5234
5081
  "description": "Tunnel name",
5235
5082
  "name": "name",
5236
- "default": "fifteen-spaghetti-four-berlin",
5083
+ "default": "fanta-pip-mountain-oven",
5237
5084
  "hasDynamicHelp": false,
5238
5085
  "multiple": false,
5239
5086
  "type": "option"
@@ -6005,5 +5852,5 @@
6005
5852
  ]
6006
5853
  }
6007
5854
  },
6008
- "version": "0.6.10"
5855
+ "version": "0.6.11-staging.e6894a4"
6009
5856
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/cli",
3
- "version": "0.6.10",
3
+ "version": "0.6.11-staging.e6894a4",
4
4
  "description": "DXOS CLI",
5
5
  "keywords": [
6
6
  "dxos",
@@ -50,34 +50,34 @@
50
50
  "react": "~18.2.0",
51
51
  "ws": "^8.14.2",
52
52
  "wtfnode": "^0.9.1",
53
- "@dxos/agent": "0.6.10",
54
- "@dxos/async": "0.6.10",
55
- "@dxos/bare-template": "0.6.10",
56
- "@dxos/cli-composer": "0.6.10",
57
- "@dxos/cli-base": "0.6.10",
58
- "@dxos/client-protocol": "0.6.10",
59
- "@dxos/client": "0.6.10",
60
- "@dxos/client-services": "0.6.10",
61
- "@dxos/context": "0.6.10",
62
- "@dxos/config": "0.6.10",
63
- "@dxos/functions": "0.6.10",
64
- "@dxos/debug": "0.6.10",
65
- "@dxos/echo-schema": "0.6.10",
66
- "@dxos/hello-template": "0.6.10",
67
- "@dxos/log": "0.6.10",
68
- "@dxos/invariant": "0.6.10",
69
- "@dxos/node-std": "0.6.10",
70
- "@dxos/observability": "0.6.10",
71
- "@dxos/plate": "0.6.10",
72
- "@dxos/plugin-markdown": "0.6.10",
73
- "@dxos/network-manager": "0.6.10",
74
- "@dxos/plugin-script": "0.6.10",
75
- "@dxos/process": "0.6.10",
76
- "@dxos/random": "0.6.10",
77
- "@dxos/protocols": "0.6.10",
78
- "@dxos/rpc": "0.6.10",
79
- "@dxos/tasks-template": "0.6.10",
80
- "@dxos/util": "0.6.10"
53
+ "@dxos/bare-template": "0.6.11-staging.e6894a4",
54
+ "@dxos/agent": "0.6.11-staging.e6894a4",
55
+ "@dxos/async": "0.6.11-staging.e6894a4",
56
+ "@dxos/cli-base": "0.6.11-staging.e6894a4",
57
+ "@dxos/cli-composer": "0.6.11-staging.e6894a4",
58
+ "@dxos/client-protocol": "0.6.11-staging.e6894a4",
59
+ "@dxos/client": "0.6.11-staging.e6894a4",
60
+ "@dxos/client-services": "0.6.11-staging.e6894a4",
61
+ "@dxos/config": "0.6.11-staging.e6894a4",
62
+ "@dxos/debug": "0.6.11-staging.e6894a4",
63
+ "@dxos/context": "0.6.11-staging.e6894a4",
64
+ "@dxos/echo-schema": "0.6.11-staging.e6894a4",
65
+ "@dxos/functions": "0.6.11-staging.e6894a4",
66
+ "@dxos/hello-template": "0.6.11-staging.e6894a4",
67
+ "@dxos/invariant": "0.6.11-staging.e6894a4",
68
+ "@dxos/log": "0.6.11-staging.e6894a4",
69
+ "@dxos/network-manager": "0.6.11-staging.e6894a4",
70
+ "@dxos/node-std": "0.6.11-staging.e6894a4",
71
+ "@dxos/observability": "0.6.11-staging.e6894a4",
72
+ "@dxos/plate": "0.6.11-staging.e6894a4",
73
+ "@dxos/plugin-markdown": "0.6.11-staging.e6894a4",
74
+ "@dxos/plugin-script": "0.6.11-staging.e6894a4",
75
+ "@dxos/process": "0.6.11-staging.e6894a4",
76
+ "@dxos/protocols": "0.6.11-staging.e6894a4",
77
+ "@dxos/random": "0.6.11-staging.e6894a4",
78
+ "@dxos/rpc": "0.6.11-staging.e6894a4",
79
+ "@dxos/tasks-template": "0.6.11-staging.e6894a4",
80
+ "@dxos/util": "0.6.11-staging.e6894a4"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@oclif/test": "^4.0.3",
@@ -1,29 +0,0 @@
1
- import { BaseCommand } from '../../base';
2
- export default class Dev extends BaseCommand<typeof Dev> {
3
- static enableJsonFlag: boolean;
4
- static description: string;
5
- static aliases: string[];
6
- static examples: {
7
- description: string;
8
- command: string;
9
- }[];
10
- static flags: {
11
- require: import("@oclif/core/lib/interfaces").OptionFlag<string[], import("@oclif/core/lib/interfaces").CustomOptions>;
12
- manifest: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
13
- baseDir: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
14
- reload: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
15
- key: import("@oclif/core/lib/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
16
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
17
- verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
18
- 'dry-run': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
19
- profile: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
20
- config: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
21
- timeout: import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces").CustomOptions>;
22
- target: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
23
- agent: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
24
- 'json-log': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
25
- 'json-logfile': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
26
- };
27
- run(): Promise<any>;
28
- }
29
- //# sourceMappingURL=dev.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../../../src/commands/function/dev.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,WAAW,CAAC,OAAO,GAAG,CAAC;IACtD,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAmC;IAC9D,OAAgB,OAAO,WAA2B;IAClD,OAAgB,QAAQ;;;QAKtB;IAEF,OAAgB,KAAK;;;;;;;;;;;;;;;;MAOnB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAwE1B"}
@@ -1,100 +0,0 @@
1
- "use strict";
2
- //
3
- // Copyright 2023 DXOS.org
4
- //
5
- var __importDefault = (this && this.__importDefault) || function (mod) {
6
- return (mod && mod.__esModule) ? mod : { "default": mod };
7
- };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- const core_1 = require("@oclif/core");
10
- const chalk_1 = __importDefault(require("chalk"));
11
- const js_yaml_1 = require("js-yaml");
12
- const node_fs_1 = require("node:fs");
13
- const promises_1 = require("node:fs/promises");
14
- const node_path_1 = require("node:path");
15
- const async_1 = require("@dxos/async");
16
- const cli_base_1 = require("@dxos/cli-base");
17
- const client_protocol_1 = require("@dxos/client-protocol");
18
- const config_1 = require("@dxos/config");
19
- const functions_1 = require("@dxos/functions");
20
- const base_1 = require("../../base");
21
- class Dev extends base_1.BaseCommand {
22
- async run() {
23
- var _a;
24
- // TODO(burdon): Move into server?
25
- for (const requirePath of (_a = this.flags.require) !== null && _a !== void 0 ? _a : []) {
26
- require(requirePath);
27
- }
28
- await this.execWithClient(async ({ client }) => {
29
- var _a, _b, _c, _d, _e, _f, _g;
30
- client.addTypes(functions_1.FUNCTION_SCHEMA);
31
- // TODO(dmaretskyi): Move into system service?
32
- const config = new config_1.Config(JSON.parse((await client.services.services.DevtoolsHost.getConfig()).config));
33
- const functionsConfig = (_c = (_b = (_a = config.values.runtime) === null || _a === void 0 ? void 0 : _a.agent) === null || _b === void 0 ? void 0 : _b.plugins) === null || _c === void 0 ? void 0 : _c.find((plugin) => plugin.id === 'dxos.org/agent/plugin/functions');
34
- // Local files.
35
- const manifest = (_f = (_d = this.flags.manifest) !== null && _d !== void 0 ? _d : (_e = functionsConfig === null || functionsConfig === void 0 ? void 0 : functionsConfig.config) === null || _e === void 0 ? void 0 : _e.manifest) !== null && _f !== void 0 ? _f : (0, node_path_1.join)(process.cwd(), 'functions.yml');
36
- const baseDir = (_g = this.flags.baseDir) !== null && _g !== void 0 ? _g : (0, node_path_1.join)((0, node_path_1.dirname)(manifest), 'src/functions');
37
- // Start Dev server.
38
- const functionRegistry = new functions_1.FunctionRegistry(client);
39
- const server = new functions_1.DevServer(client, functionRegistry, {
40
- baseDir,
41
- reload: this.flags.reload,
42
- dataDir: (0, client_protocol_1.getProfilePath)(client_protocol_1.DX_DATA, this.flags.profile),
43
- });
44
- await server.start();
45
- // Start scheduler.
46
- // TODO(burdon): Move to agent's FunctionsPlugin.
47
- const triggerRegistry = new functions_1.TriggerRegistry(client);
48
- const scheduler = new functions_1.Scheduler(functionRegistry, triggerRegistry, { endpoint: server.proxy });
49
- await scheduler.start();
50
- // Load manifest.
51
- if (manifest && (0, node_fs_1.existsSync)(manifest)) {
52
- this.log(`Loading manifest: ${chalk_1.default.blue(manifest)}`);
53
- const { functions, triggers } = (0, js_yaml_1.load)(await (0, promises_1.readFile)(manifest, 'utf8'));
54
- const update = async (space) => {
55
- await scheduler.register(space, { functions, triggers });
56
- };
57
- // TODO(burdon): Subscribe for new spaces.
58
- for (const space of await this.getSpaces(client, { spaceKeys: this.flags.key, wait: true })) {
59
- await update(space);
60
- }
61
- }
62
- this.log(`DevServer running: ${chalk_1.default.blue(server.endpoint)} (ctrl-c to exit)`);
63
- const run = new async_1.Trigger();
64
- process.on('SIGINT', async () => {
65
- await scheduler.stop();
66
- await server.stop();
67
- run.wake();
68
- });
69
- if (this.flags.verbose) {
70
- // TODO(burdon): Get list of functions from plugin API endpoint.
71
- this.log(`Plugin proxy: ${chalk_1.default.blue(server.proxy)}`);
72
- this.log('Functions:\n' +
73
- server.functions
74
- .map(({ def: { uri, route } }) => (0, chalk_1.default) `- ${uri.padEnd(40)} {blue ${(0, node_path_1.join)(server.proxy, route)}}`)
75
- .join('\n'));
76
- }
77
- // Wait until exit (via SIGINT).
78
- await run.wait();
79
- });
80
- }
81
- }
82
- Dev.enableJsonFlag = true;
83
- Dev.description = 'Functions development server.';
84
- Dev.aliases = ['function:dev-server'];
85
- Dev.examples = [
86
- {
87
- description: 'Run with TypeScript support.',
88
- command: 'dx function dev -r ts-node/register --verbose',
89
- },
90
- ];
91
- Dev.flags = {
92
- ...base_1.BaseCommand.flags,
93
- ...cli_base_1.FLAG_SPACE_KEYS,
94
- require: core_1.Flags.string({ multiple: true, aliases: ['r'], default: ['ts-node/register'] }),
95
- manifest: core_1.Flags.string({ description: 'Functions manifest file.' }),
96
- baseDir: core_1.Flags.string({ description: 'Base directory for function handlers.' }),
97
- reload: core_1.Flags.boolean({ description: 'Reload functions on change.' }),
98
- };
99
- exports.default = Dev;
100
- //# sourceMappingURL=dev.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dev.js","sourceRoot":"","sources":["../../../../src/commands/function/dev.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,sCAAoC;AACpC,kDAA0B;AAC1B,qCAA+B;AAC/B,qCAAqC;AACrC,+CAA4C;AAC5C,yCAA0C;AAE1C,uCAAsC;AACtC,6CAAiD;AACjD,2DAA4E;AAC5E,yCAAsC;AACtC,+CAOyB;AAEzB,qCAAyC;AAEzC,MAAqB,GAAI,SAAQ,kBAAuB;IAoBtD,KAAK,CAAC,GAAG;;QACP,kCAAkC;QAClC,KAAK,MAAM,WAAW,IAAI,MAAA,IAAI,CAAC,KAAK,CAAC,OAAO,mCAAI,EAAE,EAAE,CAAC;YACnD,OAAO,CAAC,WAAW,CAAC,CAAC;QACvB,CAAC;QAED,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;;YAC7C,MAAM,CAAC,QAAQ,CAAC,2BAAe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