typeclaw 0.1.0 → 0.1.2
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 +12 -12
- package/package.json +3 -2
- package/src/agent/auth.ts +10 -4
- package/src/agent/doctor.ts +173 -0
- package/src/agent/subagents.ts +24 -2
- package/src/bundled-plugins/backup/README.md +81 -0
- package/src/bundled-plugins/backup/index.ts +209 -0
- package/src/bundled-plugins/backup/runner.ts +231 -0
- package/src/bundled-plugins/backup/subagents.ts +200 -0
- package/src/bundled-plugins/memory/index.ts +42 -1
- package/src/bundled-plugins/security/index.ts +5 -1
- package/src/bundled-plugins/security/policies/git-exfil.ts +184 -4
- package/src/bundled-plugins/security/policies/remote-taint-state.ts +59 -0
- package/src/channels/adapters/kakaotalk-attachment.ts +224 -0
- package/src/channels/adapters/kakaotalk-channel-resolver.ts +20 -1
- package/src/channels/adapters/kakaotalk-fetch-attachment.ts +91 -0
- package/src/channels/adapters/kakaotalk.ts +58 -3
- package/src/channels/router.ts +40 -2
- package/src/cli/compose.ts +92 -1
- package/src/cli/doctor.ts +100 -0
- package/src/cli/index.ts +1 -0
- package/src/compose/doctor.ts +141 -0
- package/src/compose/index.ts +8 -0
- package/src/compose/logs.ts +32 -19
- package/src/config/config.ts +20 -0
- package/src/container/log-colors.ts +75 -0
- package/src/container/log-timestamps.ts +84 -0
- package/src/container/logs.ts +71 -5
- package/src/container/start.ts +23 -8
- package/src/cron/consumer.ts +29 -7
- package/src/doctor/checks.ts +426 -0
- package/src/doctor/commit.ts +71 -0
- package/src/doctor/index.ts +287 -0
- package/src/doctor/plugin-bridge.ts +147 -0
- package/src/doctor/report.ts +142 -0
- package/src/doctor/types.ts +87 -0
- package/src/init/cli-version.ts +81 -0
- package/src/init/dockerfile.ts +223 -25
- package/src/init/ensure-deps.ts +2 -2
- package/src/init/index.ts +23 -13
- package/src/init/run-bun-install.ts +17 -1
- package/src/plugin/hooks.ts +32 -0
- package/src/plugin/index.ts +7 -0
- package/src/plugin/manager.ts +2 -0
- package/src/plugin/registry.ts +32 -3
- package/src/plugin/types.ts +65 -0
- package/src/run/bundled-plugins.ts +8 -0
- package/src/run/index.ts +10 -5
- package/src/secrets/env.ts +43 -0
- package/src/secrets/index.ts +2 -0
- package/src/server/index.ts +103 -5
- package/src/shared/index.ts +3 -0
- package/src/shared/protocol.ts +22 -0
- package/src/skills/typeclaw-channel-kakaotalk/SKILL.md +26 -3
- package/src/skills/typeclaw-config/SKILL.md +1 -1
- package/tsconfig.json +30 -0
- package/typeclaw.schema.json +50 -4
package/typeclaw.schema.json
CHANGED
|
@@ -368,10 +368,6 @@
|
|
|
368
368
|
"enabled": {
|
|
369
369
|
"default": true,
|
|
370
370
|
"type": "boolean"
|
|
371
|
-
},
|
|
372
|
-
"autoMarkRead": {
|
|
373
|
-
"default": false,
|
|
374
|
-
"type": "boolean"
|
|
375
371
|
}
|
|
376
372
|
}
|
|
377
373
|
},
|
|
@@ -710,6 +706,18 @@
|
|
|
710
706
|
"allow"
|
|
711
707
|
]
|
|
712
708
|
},
|
|
709
|
+
"network": {
|
|
710
|
+
"default": {
|
|
711
|
+
"blockInternal": false
|
|
712
|
+
},
|
|
713
|
+
"type": "object",
|
|
714
|
+
"properties": {
|
|
715
|
+
"blockInternal": {
|
|
716
|
+
"default": false,
|
|
717
|
+
"type": "boolean"
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
},
|
|
713
721
|
"dockerfile": {
|
|
714
722
|
"default": {
|
|
715
723
|
"ffmpeg": false,
|
|
@@ -820,6 +828,44 @@
|
|
|
820
828
|
}
|
|
821
829
|
}
|
|
822
830
|
}
|
|
831
|
+
},
|
|
832
|
+
"backup": {
|
|
833
|
+
"default": {
|
|
834
|
+
"enabled": true,
|
|
835
|
+
"idleMs": 30000,
|
|
836
|
+
"pushToOrigin": true,
|
|
837
|
+
"commitTimeoutMs": 30000,
|
|
838
|
+
"networkTimeoutMs": 60000
|
|
839
|
+
},
|
|
840
|
+
"type": "object",
|
|
841
|
+
"properties": {
|
|
842
|
+
"enabled": {
|
|
843
|
+
"default": true,
|
|
844
|
+
"type": "boolean"
|
|
845
|
+
},
|
|
846
|
+
"idleMs": {
|
|
847
|
+
"default": 30000,
|
|
848
|
+
"type": "integer",
|
|
849
|
+
"minimum": 1000,
|
|
850
|
+
"maximum": 9007199254740991
|
|
851
|
+
},
|
|
852
|
+
"pushToOrigin": {
|
|
853
|
+
"default": true,
|
|
854
|
+
"type": "boolean"
|
|
855
|
+
},
|
|
856
|
+
"commitTimeoutMs": {
|
|
857
|
+
"default": 30000,
|
|
858
|
+
"type": "integer",
|
|
859
|
+
"minimum": 1,
|
|
860
|
+
"maximum": 9007199254740991
|
|
861
|
+
},
|
|
862
|
+
"networkTimeoutMs": {
|
|
863
|
+
"default": 60000,
|
|
864
|
+
"type": "integer",
|
|
865
|
+
"minimum": 1,
|
|
866
|
+
"maximum": 9007199254740991
|
|
867
|
+
}
|
|
868
|
+
}
|
|
823
869
|
}
|
|
824
870
|
},
|
|
825
871
|
"additionalProperties": {}
|