@lazyingart/agintiflow 0.20.57 → 0.20.58
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 +33 -0
- package/docs/runtime-modes-and-autonomy.md +29 -0
- package/package.json +1 -1
- package/src/auth-onboarding.js +3 -1
package/README.md
CHANGED
|
@@ -73,6 +73,16 @@ aginti auth venice
|
|
|
73
73
|
aginti login grsai
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
+
Provider signup and key pages:
|
|
77
|
+
|
|
78
|
+
| Provider | Register / key page | API base URL used by AgInTiFlow |
|
|
79
|
+
| --- | --- | --- |
|
|
80
|
+
| DeepSeek | [https://platform.deepseek.com/api_keys](https://platform.deepseek.com/api_keys) | `https://api.deepseek.com` |
|
|
81
|
+
| Venice | [https://venice.ai/settings/api](https://venice.ai/settings/api) | `https://api.venice.ai/api/v1` |
|
|
82
|
+
| OpenAI | [https://platform.openai.com/api-keys](https://platform.openai.com/api-keys) | `https://api.openai.com/v1` |
|
|
83
|
+
| Qwen / DashScope | [https://bailian.console.aliyun.com/](https://bailian.console.aliyun.com/) | `https://dashscope-intl.aliyuncs.com/compatible-mode/v1` |
|
|
84
|
+
| GRS AI image tools | [https://grsai.ai/dashboard/api-keys](https://grsai.ai/dashboard/api-keys) | Configure with `/auxiliary grsai` or `aginti login grsai` |
|
|
85
|
+
|
|
76
86
|
Launch the web UI from the same project:
|
|
77
87
|
|
|
78
88
|
```bash
|
|
@@ -135,6 +145,29 @@ aginti --resume <session-id> \
|
|
|
135
145
|
|
|
136
146
|
Permission behavior is intentionally consistent: writes inside the current project are allowed through file tools, network/setup runs are normal in approved Docker workspace mode, and outside-project or trusted-host actions stop with a clear blocker plus a suggested rerun command. See [runtime modes and autonomy](docs/runtime-modes-and-autonomy.md) for the full contract.
|
|
137
147
|
|
|
148
|
+
## Permission Recipes
|
|
149
|
+
|
|
150
|
+
Use these when you want explicit control instead of the default interactive policy:
|
|
151
|
+
|
|
152
|
+
| Mode | Command | What it permits |
|
|
153
|
+
| --- | --- | --- |
|
|
154
|
+
| Strict inspection | `aginti --sandbox-mode docker-readonly --package-install-policy block --allow-shell --no-file-tools --no-web-search "inspect this project without edits"` | Enforced read-only project inspection through shell commands such as `ls`, `rg`, `cat`, and test commands that do not write. No file-tool writes, web calls, workspace writes, or installs. |
|
|
155
|
+
| Full write in current folder | `aginti --sandbox-mode docker-workspace --package-install-policy allow --approve-package-installs --allow-shell --allow-file-tools "build and test this project"` | Read/write inside the current project folder, run network/setup commands in Docker, keep host safer. |
|
|
156
|
+
| Full host computer access | `aginti --sandbox-mode host --package-install-policy allow --approve-package-installs --allow-shell --allow-file-tools --allow-destructive "perform the trusted host maintenance task"` | Direct host shell and destructive actions. Use only when you trust the task and want whole-host access. |
|
|
157
|
+
|
|
158
|
+
For resume:
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
aginti --resume <session-id> \
|
|
162
|
+
--sandbox-mode host \
|
|
163
|
+
--package-install-policy allow \
|
|
164
|
+
--approve-package-installs \
|
|
165
|
+
--allow-shell \
|
|
166
|
+
--allow-file-tools \
|
|
167
|
+
--allow-destructive \
|
|
168
|
+
"continue with trusted host access"
|
|
169
|
+
```
|
|
170
|
+
|
|
138
171
|
## Real Screenshots
|
|
139
172
|
|
|
140
173
|
| CLI launch | Web app overview |
|
|
@@ -70,6 +70,35 @@ aginti --resume <session-id> \
|
|
|
70
70
|
"Continue after approval and verify the output was created in this run."
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
+
Three practical permission recipes:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
# Strict inspection: enforced read-only shell inspection, no file-tool writes, no web, no installs.
|
|
77
|
+
aginti --sandbox-mode docker-readonly \
|
|
78
|
+
--package-install-policy block \
|
|
79
|
+
--allow-shell \
|
|
80
|
+
--no-file-tools \
|
|
81
|
+
--no-web-search \
|
|
82
|
+
"inspect this project without edits"
|
|
83
|
+
|
|
84
|
+
# Full write in the current project folder, with setup commands isolated in Docker.
|
|
85
|
+
aginti --sandbox-mode docker-workspace \
|
|
86
|
+
--package-install-policy allow \
|
|
87
|
+
--approve-package-installs \
|
|
88
|
+
--allow-shell \
|
|
89
|
+
--allow-file-tools \
|
|
90
|
+
"build and test this project"
|
|
91
|
+
|
|
92
|
+
# Full host computer access for trusted maintenance.
|
|
93
|
+
aginti --sandbox-mode host \
|
|
94
|
+
--package-install-policy allow \
|
|
95
|
+
--approve-package-installs \
|
|
96
|
+
--allow-shell \
|
|
97
|
+
--allow-file-tools \
|
|
98
|
+
--allow-destructive \
|
|
99
|
+
"perform the trusted host maintenance task"
|
|
100
|
+
```
|
|
101
|
+
|
|
73
102
|
For host-only work, use the stricter trusted form deliberately:
|
|
74
103
|
|
|
75
104
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lazyingart/agintiflow",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.58",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Low-cost, project-aware Web and CLI agents with DeepSeek/Venice/OpenAI routing, visible tool calls, durable sessions, scouts, AAPS, SCS, and guarded local execution.",
|
|
6
6
|
"license": "Apache-2.0",
|
package/src/auth-onboarding.js
CHANGED
|
@@ -41,13 +41,14 @@ export const MAIN_AUTH_PROVIDERS = [
|
|
|
41
41
|
label: "Qwen",
|
|
42
42
|
keyName: "QWEN_API_KEY",
|
|
43
43
|
description: "Qwen OpenAI-compatible route",
|
|
44
|
+
keyUrl: "https://bailian.console.aliyun.com/",
|
|
44
45
|
},
|
|
45
46
|
{
|
|
46
47
|
id: "venice",
|
|
47
48
|
label: "Venice",
|
|
48
49
|
keyName: "VENICE_API_KEY",
|
|
49
50
|
description: "Venice OpenAI-compatible text and image routes",
|
|
50
|
-
keyUrl: "https://venice.ai",
|
|
51
|
+
keyUrl: "https://venice.ai/settings/api",
|
|
51
52
|
},
|
|
52
53
|
];
|
|
53
54
|
|
|
@@ -56,6 +57,7 @@ const AUXILIARY_AUTH_PROVIDER = {
|
|
|
56
57
|
label: "GRS AI / Nano Banana",
|
|
57
58
|
keyName: "GRSAI",
|
|
58
59
|
description: "optional image generation",
|
|
60
|
+
keyUrl: "https://grsai.ai/dashboard/api-keys",
|
|
59
61
|
};
|
|
60
62
|
|
|
61
63
|
const AUTH_ALIASES = {
|