@excitedjs/feishu-transport 0.0.2 → 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.
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The pure `gate()` reasons over an `Access` value but never reads or writes
|
|
5
5
|
* it; persistence is the host's job, injected through this interface. Each host
|
|
6
|
-
* backs it differently — dreamux with SQLite under `~/.
|
|
7
|
-
* runtime state), claudemux with its existing atomic-write
|
|
6
|
+
* backs it differently — dreamux with SQLite under `~/.dreamux/runtime`
|
|
7
|
+
* (server-owned runtime state), claudemux with its existing atomic-write
|
|
8
|
+
* `access.json`. Keeping
|
|
8
9
|
* `gate` pure with the store injected leaves the gate logic in one place (core)
|
|
9
10
|
* instead of copy-drifting per host. See dreamux#25 §6 (decision D).
|
|
10
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-store.d.ts","sourceRoot":"","sources":["../../src/contract/access-store.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"access-store.d.ts","sourceRoot":"","sources":["../../src/contract/access-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAExC,iFAAiF;AACjF,MAAM,WAAW,WAAW;IAC1B,+EAA+E;IAC/E,IAAI,IAAI,MAAM,CAAA;IACd,8DAA8D;IAC9D,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B"}
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The pure `gate()` reasons over an `Access` value but never reads or writes
|
|
5
5
|
* it; persistence is the host's job, injected through this interface. Each host
|
|
6
|
-
* backs it differently — dreamux with SQLite under `~/.
|
|
7
|
-
* runtime state), claudemux with its existing atomic-write
|
|
6
|
+
* backs it differently — dreamux with SQLite under `~/.dreamux/runtime`
|
|
7
|
+
* (server-owned runtime state), claudemux with its existing atomic-write
|
|
8
|
+
* `access.json`. Keeping
|
|
8
9
|
* `gate` pure with the store injected leaves the gate logic in one place (core)
|
|
9
10
|
* instead of copy-drifting per host. See dreamux#25 §6 (decision D).
|
|
10
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-store.js","sourceRoot":"","sources":["../../src/contract/access-store.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"access-store.js","sourceRoot":"","sources":["../../src/contract/access-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@excitedjs/feishu-transport",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Shared Feishu platform-I/O core for dreamux and claudemux: connect / receive / send / auth / render / parse + stateless policy (issue excitedjs/dreamux#25).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -25,14 +25,6 @@
|
|
|
25
25
|
"dist",
|
|
26
26
|
"README.md"
|
|
27
27
|
],
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build": "tsc -p tsconfig.json",
|
|
30
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
31
|
-
"test": "vitest run",
|
|
32
|
-
"test:watch": "vitest",
|
|
33
|
-
"clean": "rm -rf dist",
|
|
34
|
-
"prepublishOnly": "npm run build"
|
|
35
|
-
},
|
|
36
28
|
"dependencies": {
|
|
37
29
|
"@larksuiteoapi/node-sdk": "^1.64.0",
|
|
38
30
|
"marked": "^15.0.12"
|
|
@@ -41,5 +33,12 @@
|
|
|
41
33
|
"@types/node": "^22.10.0",
|
|
42
34
|
"typescript": "^5.7.0",
|
|
43
35
|
"vitest": "^2.1.0"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsc -p tsconfig.json",
|
|
39
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
40
|
+
"test": "vitest run",
|
|
41
|
+
"test:watch": "vitest",
|
|
42
|
+
"clean": "rm -rf dist"
|
|
44
43
|
}
|
|
45
|
-
}
|
|
44
|
+
}
|