@taico/worker 0.0.1 → 0.0.3

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 CHANGED
@@ -18,6 +18,27 @@ The worker is intentionally decoupled from the backend. You can run workers anyw
18
18
 
19
19
  The worker has access to whatever the host machine has access to. If you have Claude Code installed and authenticated, the Claude runner can use it. Same for OpenCode and GitHub Copilot.
20
20
 
21
+ ## Design Constraints (Aspirational)
22
+
23
+ These are the intended design constraints for the worker runtime. They are not implemented yet.
24
+ Today the worker just runs a Claude Code, OpenCode, or GitHub Copilot process on your machine and can do whatever that process can do.
25
+ This early version requires you to be authenticated to tools, which means you are exposing keys to the LLM. Treat it with caution.
26
+
27
+ 1. The shell is disposable.
28
+ The agent may destroy its own environment and nothing outside it is affected.
29
+
30
+ 2. The shell has zero ambient authority.
31
+ No credentials, no identities, no implicit cloud access, no inherited power.
32
+
33
+ 3. Authority is external.
34
+ All cost-bearing or state-changing actions are mediated by a trusted service.
35
+
36
+ 4. The agent cannot gain power by exploration.
37
+ Scanning the filesystem, env, or network must not reveal new capabilities.
38
+
39
+ 5. Capabilities are explicit and task-scoped.
40
+ If a task needs power, it must be declared up front and granted narrowly.
41
+
21
42
  ## Setup
22
43
 
23
44
  ### 1. Create an Agent
@@ -170,8 +170,6 @@ export class Coordinator {
170
170
  }
171
171
  });
172
172
  console.log(results);
173
- // Force a comment
174
- this.client.addComment(task.id, `Finished.\n\n${results.result}`);
175
173
  }
176
174
  catch (error) {
177
175
  console.error(`Error running task`);
package/dist/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taico/worker",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -44,6 +44,7 @@
44
44
  "@opencode-ai/sdk": "^1.1.28",
45
45
  "@taico/client": "^0.0.1",
46
46
  "@taico/events": "^0.0.2",
47
+ "dotenv": "^16.4.7",
47
48
  "socket.io-client": "^4.8.3"
48
49
  },
49
50
  "devDependencies": {