@hydranium/core 1.0.0-next.277 → 1.0.0-next.278

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.
@@ -61,11 +61,10 @@ export interface StartedStdioServer extends IntegratedServer {
61
61
  }
62
62
  /**
63
63
  * Start a **stdio**-based protocol head — the transport `hydranium-cli` speaks,
64
- * since `query` / `save` / `projects` / `watch` all spawn a server command and
65
- * drive JSON-RPC over its stdin/stdout. The socket counterpart is
66
- * `startSocketServer`; the two differ more
67
- * than the transport swap suggests, and the differences are the reason this is
68
- * a launcher rather than four lines in each adopter's entry.
64
+ * since its data-server subcommands spawn a server command and drive JSON-RPC
65
+ * over its stdin/stdout. The socket counterpart is `startSocketServer`; the two
66
+ * differ more than the transport swap suggests, and the differences are the
67
+ * reason this is a launcher rather than four lines in each adopter's entry.
69
68
  *
70
69
  * **One client, not N.** A socket head accepts arbitrarily many connections and
71
70
  * tracks them; a stdio head has exactly one peer — the process that spawned it
@@ -1 +1 @@
1
- {"version":3,"file":"stdio-launcher.d.ts","sourceRoot":"","sources":["../../src/node/stdio-launcher.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAElF,OAAO,EAAY,KAAK,UAAU,EAAE,KAAK,MAAM,EAAyC,MAAM,qBAAqB,CAAC;AACpH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAuC,KAAK,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAE9H,8DAA8D;AAC9D,MAAM,WAAW,kBAAkB;IAChC;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,2BAA2B,CAAC;IAC7C;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,oBAAoB,GAAG,aAAa,CAAC,oB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AoB,GAAG,aAAa,CAAC,oBAAoB,CAAC,CAAC;IAChF;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,oEAAoE;IACpE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC;IACvC,qEAAqE;IACrE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC;CAC1C;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;IACzD,2EAA2E;IAC3E,QAAQ,CAAC,UAAU,EAAE,iBAAiB,CAAC;IACvC,2EAA2E;IAC3E,KAAK,IAAI,IAAI,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,gBAAgB,CAC7B,OAAO,EAAE,kBAAkB,EAC3B,YAAY,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,UAAU,GAC3D,kBAAkB,CA+DpB"}
@@ -11,11 +11,10 @@ import { createMessageConnection, StreamMessageReader, StreamMessageWriter } fro
11
11
  import { initializeWorkspaceProgrammatically } from '../langium/workspace/initialize-workspace.js';
12
12
  /**
13
13
  * Start a **stdio**-based protocol head — the transport `hydranium-cli` speaks,
14
- * since `query` / `save` / `projects` / `watch` all spawn a server command and
15
- * drive JSON-RPC over its stdin/stdout. The socket counterpart is
16
- * `startSocketServer`; the two differ more
17
- * than the transport swap suggests, and the differences are the reason this is
18
- * a launcher rather than four lines in each adopter's entry.
14
+ * since its data-server subcommands spawn a server command and drive JSON-RPC
15
+ * over its stdin/stdout. The socket counterpart is `startSocketServer`; the two
16
+ * differ more than the transport swap suggests, and the differences are the
17
+ * reason this is a launcher rather than four lines in each adopter's entry.
19
18
  *
20
19
  * **One client, not N.** A socket head accepts arbitrarily many connections and
21
20
  * tracks them; a stdio head has exactly one peer — the process that spawned it
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;aAAM,CAAC;YACL,MAAM,EAAE,KAAK,CAAC,IAAI,GAAG,qBAAqB,sBAAsB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC5E,CAAC;QACD,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACpB,KAAK,EAAE,CAAC;IACX,CAAC,CACH,CAAC;IACF,2EAA2E;IAC3E,uDAAuD;IACvD,KAAK,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;IAE5C,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;AACpF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydranium/core",
3
- "version": "1.0.0-next.277",
3
+ "version": "1.0.0-next.278",
4
4
  "description": "Foundational runtime of the hydranium framework: AST coordination layer (services, integrity, AST extension, serialization, multi-client documents) plus the LSP textual head at the /lsp subpath. Consumed by protocol-head packages (@hydranium/data-server, @hydranium/glsp-server).",
5
5
  "keywords": [
6
6
  "ast",
@@ -83,8 +83,8 @@
83
83
  "diff": "^5.2.0"
84
84
  },
85
85
  "devDependencies": {
86
- "@hydranium/langium": "1.0.0-next.277",
87
- "@hydranium/protocol": "1.0.0-next.277",
86
+ "@hydranium/langium": "1.0.0-next.278",
87
+ "@hydranium/protocol": "1.0.0-next.278",
88
88
  "@playwright/test": "^1.40.0",
89
89
  "@types/diff": "^5.2.0",
90
90
  "rimraf": "^5.0.0",
@@ -96,8 +96,8 @@
96
96
  "vscode-languageserver-types": "^3.17.5"
97
97
  },
98
98
  "peerDependencies": {
99
- "@hydranium/langium": "1.0.0-next.277",
100
- "@hydranium/protocol": "1.0.0-next.277",
99
+ "@hydranium/langium": "1.0.0-next.278",
100
+ "@hydranium/protocol": "1.0.0-next.278",
101
101
  "@playwright/test": "^1.40.0",
102
102
  "vscode-jsonrpc": "^9.0.0",
103
103
  "vscode-languageserver": "~10.0.1",
@@ -66,11 +66,10 @@ export interface StartedStdioServer extends IntegratedServer {
66
66
 
67
67
  /**
68
68
  * Start a **stdio**-based protocol head — the transport `hydranium-cli` speaks,
69
- * since `query` / `save` / `projects` / `watch` all spawn a server command and
70
- * drive JSON-RPC over its stdin/stdout. The socket counterpart is
71
- * `startSocketServer`; the two differ more
72
- * than the transport swap suggests, and the differences are the reason this is
73
- * a launcher rather than four lines in each adopter's entry.
69
+ * since its data-server subcommands spawn a server command and drive JSON-RPC
70
+ * over its stdin/stdout. The socket counterpart is `startSocketServer`; the two
71
+ * differ more than the transport swap suggests, and the differences are the
72
+ * reason this is a launcher rather than four lines in each adopter's entry.
74
73
  *
75
74
  * **One client, not N.** A socket head accepts arbitrarily many connections and
76
75
  * tracks them; a stdio head has exactly one peer — the process that spawned it