@playcraft/common 0.0.33 → 0.0.35

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.
Files changed (76) hide show
  1. package/dist/agent/context-usage.d.ts +41 -0
  2. package/dist/agent/context-usage.d.ts.map +1 -0
  3. package/dist/agent/context-usage.js +68 -0
  4. package/dist/agent/context-usage.js.map +1 -0
  5. package/dist/agent/index.d.ts +1 -0
  6. package/dist/agent/index.d.ts.map +1 -1
  7. package/dist/agent/index.js +1 -0
  8. package/dist/agent/index.js.map +1 -1
  9. package/dist/agent/model-context-window.d.ts.map +1 -1
  10. package/dist/agent/model-context-window.js +2 -0
  11. package/dist/agent/model-context-window.js.map +1 -1
  12. package/dist/agent-tools/types.d.ts +75 -0
  13. package/dist/agent-tools/types.d.ts.map +1 -1
  14. package/dist/image-studio/alpha-strategy.d.ts +75 -0
  15. package/dist/image-studio/alpha-strategy.d.ts.map +1 -0
  16. package/dist/image-studio/alpha-strategy.js +184 -0
  17. package/dist/image-studio/alpha-strategy.js.map +1 -0
  18. package/dist/image-studio/index.d.ts +3 -0
  19. package/dist/image-studio/index.d.ts.map +1 -0
  20. package/dist/image-studio/index.js +3 -0
  21. package/dist/image-studio/index.js.map +1 -0
  22. package/dist/image-studio/keyframe-sheet.d.ts +16 -0
  23. package/dist/image-studio/keyframe-sheet.d.ts.map +1 -0
  24. package/dist/image-studio/keyframe-sheet.js +45 -0
  25. package/dist/image-studio/keyframe-sheet.js.map +1 -0
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +1 -0
  29. package/dist/index.js.map +1 -1
  30. package/dist/prefab/constants.d.ts +8 -0
  31. package/dist/prefab/constants.d.ts.map +1 -1
  32. package/dist/prefab/constants.js +10 -0
  33. package/dist/prefab/constants.js.map +1 -1
  34. package/dist/prefab/image-padding-color.d.ts +17 -0
  35. package/dist/prefab/image-padding-color.d.ts.map +1 -0
  36. package/dist/prefab/image-padding-color.js +49 -0
  37. package/dist/prefab/image-padding-color.js.map +1 -0
  38. package/dist/prefab/index.d.ts +2 -0
  39. package/dist/prefab/index.d.ts.map +1 -1
  40. package/dist/prefab/index.js +2 -0
  41. package/dist/prefab/index.js.map +1 -1
  42. package/dist/prefab/mime-type-list.d.ts +37 -0
  43. package/dist/prefab/mime-type-list.d.ts.map +1 -0
  44. package/dist/prefab/mime-type-list.js +135 -0
  45. package/dist/prefab/mime-type-list.js.map +1 -0
  46. package/dist/prefab/types.d.ts +36 -1
  47. package/dist/prefab/types.d.ts.map +1 -1
  48. package/dist/recommend/atom-graph/basic-atom-graph.d.ts.map +1 -1
  49. package/dist/recommend/atom-graph/basic-atom-graph.js +771 -266
  50. package/dist/recommend/atom-graph/basic-atom-graph.js.map +1 -1
  51. package/dist/recommend/atom-graph/basic-atom-skill-graph.d.ts +11 -0
  52. package/dist/recommend/atom-graph/basic-atom-skill-graph.d.ts.map +1 -1
  53. package/dist/recommend/atom-graph/basic-atom-skill-graph.js +74 -9
  54. package/dist/recommend/atom-graph/basic-atom-skill-graph.js.map +1 -1
  55. package/dist/recommend/atom-graph/graph-generator.d.ts +63 -0
  56. package/dist/recommend/atom-graph/graph-generator.d.ts.map +1 -0
  57. package/dist/recommend/atom-graph/graph-generator.js +284 -0
  58. package/dist/recommend/atom-graph/graph-generator.js.map +1 -0
  59. package/dist/recommend/atom-graph/index.js +3 -0
  60. package/dist/recommend/atom-graph/index.js.map +1 -1
  61. package/dist/recommend/atom-graph/types.d.ts +39 -9
  62. package/dist/recommend/atom-graph/types.d.ts.map +1 -1
  63. package/dist/recommend/atom-graph/validate.js +2 -2
  64. package/dist/recommend/atom-graph/validate.js.map +1 -1
  65. package/dist/storage/cos-url.d.ts +18 -0
  66. package/dist/storage/cos-url.d.ts.map +1 -0
  67. package/dist/storage/cos-url.js +24 -0
  68. package/dist/storage/cos-url.js.map +1 -0
  69. package/dist/storage/cos.d.ts.map +1 -1
  70. package/dist/storage/cos.js +8 -13
  71. package/dist/storage/cos.js.map +1 -1
  72. package/dist/storage/index.d.ts +1 -0
  73. package/dist/storage/index.d.ts.map +1 -1
  74. package/dist/storage/index.js +1 -0
  75. package/dist/storage/index.js.map +1 -1
  76. package/package.json +16 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playcraft/common",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -45,6 +45,10 @@
45
45
  "types": "./dist/storage/index.d.ts",
46
46
  "default": "./dist/storage/index.js"
47
47
  },
48
+ "./storage/cos-url": {
49
+ "types": "./dist/storage/cos-url.d.ts",
50
+ "default": "./dist/storage/cos-url.js"
51
+ },
48
52
  "./mcp": {
49
53
  "types": "./dist/mcp/index.d.ts",
50
54
  "default": "./dist/mcp/index.js"
@@ -61,6 +65,10 @@
61
65
  "types": "./dist/agent/model-context-window.d.ts",
62
66
  "default": "./dist/agent/model-context-window.js"
63
67
  },
68
+ "./agent/context-usage": {
69
+ "types": "./dist/agent/context-usage.d.ts",
70
+ "default": "./dist/agent/context-usage.js"
71
+ },
64
72
  "./prefab": {
65
73
  "types": "./dist/prefab/index.d.ts",
66
74
  "default": "./dist/prefab/index.js"
@@ -72,6 +80,10 @@
72
80
  "./recommend": {
73
81
  "types": "./dist/recommend/index.d.ts",
74
82
  "default": "./dist/recommend/index.js"
83
+ },
84
+ "./image-studio": {
85
+ "types": "./dist/image-studio/index.d.ts",
86
+ "default": "./dist/image-studio/index.js"
75
87
  }
76
88
  },
77
89
  "files": [
@@ -85,7 +97,8 @@
85
97
  "prepublishOnly": "pnpm build",
86
98
  "lint": "eslint .",
87
99
  "test": "vitest run",
88
- "release": "node scripts/release.js"
100
+ "rebuild:graph": "npx tsx scripts/rebuild-atom-graph.ts",
101
+ "release": "node ../../scripts/release-npm.mjs --packages=common --skip-install --skip-tests --skip-git-push"
89
102
  },
90
103
  "dependencies": {
91
104
  "@teamwork/websocket-json-stream": "^2.0.0",
@@ -104,6 +117,7 @@
104
117
  "@types/node": "^25.2.0",
105
118
  "@types/pg": "^8.16.0",
106
119
  "@types/ws": "^8.18.1",
120
+ "tsx": "^4.19.0",
107
121
  "typescript": "^5.9.3",
108
122
  "vitest": "^3.2.4"
109
123
  }