@chosengeneration/light-code 0.89.0 → 0.92.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.
- package/README.md +24 -3
- package/dist/cli.cjs +1910 -1313
- package/dist/server.cjs +1279 -716
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,6 +17,19 @@ npx @chosengeneration/light-code --port 7100 --no-open
|
|
|
17
17
|
npx @chosengeneration/light-code --help
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
### No registry on the machine that needs it?
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
light-code --export-pkg light-code-pkg # then: node light-code-pkg
|
|
24
|
+
light-code --export-code light-code-src # the source, to work on it there
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The first writes a copy of the running bundle as a single file. Carry it to anything with
|
|
28
|
+
Node and run it — no `npm install`, no `node_modules`, no network. The second writes out the
|
|
29
|
+
source this is built from, lockfile included. See
|
|
30
|
+
[the operator guide](https://github.com/chosengenerationdev/light-code/blob/main/docs/hosting.md)
|
|
31
|
+
or `light-code --guide`.
|
|
32
|
+
|
|
20
33
|
## Setting it up
|
|
21
34
|
|
|
22
35
|
For a laptop, the command above is the whole setup: open the browser, add a provider in
|
|
@@ -122,6 +135,11 @@ If you configured a credential function, put `tool:<name>` in the API key field.
|
|
|
122
135
|
documentation.
|
|
123
136
|
- **Python tools** — off by default. Read §13 of the project's CLAUDE.md before enabling it:
|
|
124
137
|
it makes the *body* of a tool model-authored.
|
|
138
|
+
- **A Jupyter kernel** — start it with `--jupyter-kernel $(python -c "from ipykernel import
|
|
139
|
+
get_connection_file; print(get_connection_file())")` from inside a notebook, and Python tools run
|
|
140
|
+
*in that kernel*: they see the dataframe you already loaded, through a `session` dict. The
|
|
141
|
+
notebook names its own kernel, because nothing outside a kernel can tell which one is asking.
|
|
142
|
+
See the guide (`light-code --guide`) for the details.
|
|
125
143
|
|
|
126
144
|
## What it does
|
|
127
145
|
|
|
@@ -145,9 +163,12 @@ agent executes on your instruction run with your privileges, exactly as if you h
|
|
|
145
163
|
them. The approval gate is what stands between the model and your machine; there is no
|
|
146
164
|
second layer behind it.
|
|
147
165
|
|
|
148
|
-
The Excel and Outlook integration
|
|
149
|
-
|
|
150
|
-
|
|
166
|
+
The Excel and Outlook integration — including composing a mail with attachments and embedded
|
|
167
|
+
images, which it shows you rather than sends — and the indexed-mail search, need **Windows and
|
|
168
|
+
your own desktop**. They attach to applications already running in your session, so running this for
|
|
169
|
+
yourself on Windows you get all three, exactly as in the extension. Started with `--server`
|
|
170
|
+
they are absent: a service account has no route to anybody's desktop, and a mailbox belongs
|
|
171
|
+
to a person rather than to the account the process runs as.
|
|
151
172
|
|
|
152
173
|
## Security
|
|
153
174
|
|