feishu-codex-connector 0.1.6
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.
- package/LICENSE +21 -0
- package/README.md +169 -0
- package/README.zh.md +170 -0
- package/bin/feishu-codex.mjs +8 -0
- package/dist/chunk-AOVT2UMM.js +3876 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.js +454 -0
- package/dist/index.d.ts +994 -0
- package/dist/index.js +144 -0
- package/docs/ARCHITECTURE.md +691 -0
- package/docs/COMMAND_COMPLETION_SPEC.md +92 -0
- package/docs/FEATURE_PARITY_SPEC.md +104 -0
- package/docs/FEISHU_PERMISSIONS.md +24 -0
- package/docs/SPEC.md +825 -0
- package/package.json +93 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BRIDGE_INSTRUCTIONS,
|
|
3
|
+
CallbackAuth,
|
|
4
|
+
CodexSdkRunner,
|
|
5
|
+
DEFAULT_HOME_DIR,
|
|
6
|
+
ExecJsonRunner,
|
|
7
|
+
LocalKeystore,
|
|
8
|
+
MediaCache,
|
|
9
|
+
MemoryCallbackNonceStore,
|
|
10
|
+
ProcessPool,
|
|
11
|
+
ProfileStore,
|
|
12
|
+
RunOrchestrator,
|
|
13
|
+
RuntimeLock,
|
|
14
|
+
RuntimeRegistry,
|
|
15
|
+
SdkEventTranslator,
|
|
16
|
+
SecretResolver,
|
|
17
|
+
SessionCatalog,
|
|
18
|
+
SessionStore,
|
|
19
|
+
WorkspaceStore,
|
|
20
|
+
accessPolicyDigest,
|
|
21
|
+
accessToSandbox,
|
|
22
|
+
appLock,
|
|
23
|
+
applyRunEvent,
|
|
24
|
+
bindBridgeRuntime,
|
|
25
|
+
bootstrapProfile,
|
|
26
|
+
bridgePaths,
|
|
27
|
+
buildPrompt,
|
|
28
|
+
buildRunCard,
|
|
29
|
+
canRunAdminCommand,
|
|
30
|
+
catalogKey,
|
|
31
|
+
clampAccess,
|
|
32
|
+
codexBinaryLooksAvailable,
|
|
33
|
+
createDefaultProfileConfig,
|
|
34
|
+
createRunState,
|
|
35
|
+
decideAccess,
|
|
36
|
+
ensureProfileForRun,
|
|
37
|
+
evaluateAccess,
|
|
38
|
+
evaluateRunPolicy,
|
|
39
|
+
expandTilde,
|
|
40
|
+
getBridgeHome,
|
|
41
|
+
hasRealBotMention,
|
|
42
|
+
hashFile,
|
|
43
|
+
hashId,
|
|
44
|
+
isAlive,
|
|
45
|
+
isBroadWorkspace,
|
|
46
|
+
isSecretRef,
|
|
47
|
+
messageRequiresMention,
|
|
48
|
+
normalizeProfileConfig,
|
|
49
|
+
parentDir,
|
|
50
|
+
parseCommand,
|
|
51
|
+
policyFingerprint,
|
|
52
|
+
profileExists,
|
|
53
|
+
profileLock,
|
|
54
|
+
profileLogPath,
|
|
55
|
+
profileNameFromPath,
|
|
56
|
+
profilePaths,
|
|
57
|
+
projectLarkCliIdentity,
|
|
58
|
+
redactProfileConfig,
|
|
59
|
+
redactSecrets,
|
|
60
|
+
renderMarkdownFallback,
|
|
61
|
+
resolveWorkspace,
|
|
62
|
+
routeCommand,
|
|
63
|
+
runBridge,
|
|
64
|
+
runDocumentComment,
|
|
65
|
+
runRegistrationWizard,
|
|
66
|
+
runnerForProfile,
|
|
67
|
+
scopeForChat,
|
|
68
|
+
stableJson,
|
|
69
|
+
startRun,
|
|
70
|
+
stripMarkdown,
|
|
71
|
+
tempRoot
|
|
72
|
+
} from "./chunk-AOVT2UMM.js";
|
|
73
|
+
export {
|
|
74
|
+
BRIDGE_INSTRUCTIONS,
|
|
75
|
+
CallbackAuth,
|
|
76
|
+
CodexSdkRunner,
|
|
77
|
+
DEFAULT_HOME_DIR,
|
|
78
|
+
ExecJsonRunner,
|
|
79
|
+
LocalKeystore,
|
|
80
|
+
MediaCache,
|
|
81
|
+
MemoryCallbackNonceStore,
|
|
82
|
+
ProcessPool,
|
|
83
|
+
ProfileStore,
|
|
84
|
+
RunOrchestrator,
|
|
85
|
+
RuntimeLock,
|
|
86
|
+
RuntimeRegistry,
|
|
87
|
+
SdkEventTranslator,
|
|
88
|
+
SecretResolver,
|
|
89
|
+
SessionCatalog,
|
|
90
|
+
SessionStore,
|
|
91
|
+
WorkspaceStore,
|
|
92
|
+
accessPolicyDigest,
|
|
93
|
+
accessToSandbox,
|
|
94
|
+
appLock,
|
|
95
|
+
applyRunEvent,
|
|
96
|
+
bindBridgeRuntime,
|
|
97
|
+
bootstrapProfile,
|
|
98
|
+
bridgePaths,
|
|
99
|
+
buildPrompt,
|
|
100
|
+
buildRunCard,
|
|
101
|
+
canRunAdminCommand,
|
|
102
|
+
catalogKey,
|
|
103
|
+
clampAccess,
|
|
104
|
+
codexBinaryLooksAvailable,
|
|
105
|
+
createDefaultProfileConfig,
|
|
106
|
+
createRunState,
|
|
107
|
+
decideAccess,
|
|
108
|
+
ensureProfileForRun,
|
|
109
|
+
evaluateAccess,
|
|
110
|
+
evaluateRunPolicy,
|
|
111
|
+
expandTilde,
|
|
112
|
+
getBridgeHome,
|
|
113
|
+
hasRealBotMention,
|
|
114
|
+
hashFile,
|
|
115
|
+
hashId,
|
|
116
|
+
isAlive,
|
|
117
|
+
isBroadWorkspace,
|
|
118
|
+
isSecretRef,
|
|
119
|
+
messageRequiresMention,
|
|
120
|
+
normalizeProfileConfig,
|
|
121
|
+
parentDir,
|
|
122
|
+
parseCommand,
|
|
123
|
+
policyFingerprint,
|
|
124
|
+
profileExists,
|
|
125
|
+
profileLock,
|
|
126
|
+
profileLogPath,
|
|
127
|
+
profileNameFromPath,
|
|
128
|
+
profilePaths,
|
|
129
|
+
projectLarkCliIdentity,
|
|
130
|
+
redactProfileConfig,
|
|
131
|
+
redactSecrets,
|
|
132
|
+
renderMarkdownFallback,
|
|
133
|
+
resolveWorkspace,
|
|
134
|
+
routeCommand,
|
|
135
|
+
runBridge,
|
|
136
|
+
runDocumentComment,
|
|
137
|
+
runRegistrationWizard,
|
|
138
|
+
runnerForProfile,
|
|
139
|
+
scopeForChat,
|
|
140
|
+
stableJson,
|
|
141
|
+
startRun,
|
|
142
|
+
stripMarkdown,
|
|
143
|
+
tempRoot
|
|
144
|
+
};
|