capix-code 2.1.0 → 2.1.1
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/package.json +1 -1
- package/scripts/rebrand.sh +4 -7
package/package.json
CHANGED
package/scripts/rebrand.sh
CHANGED
|
@@ -252,20 +252,17 @@ echo " Runtime plugin/provider are staged by scripts/build.sh and verified fail
|
|
|
252
252
|
echo "▸ Integrating Capix provider into upstream source tree…"
|
|
253
253
|
|
|
254
254
|
# Copy our src/*.ts files into the upstream's capix-code/src/
|
|
255
|
+
# Only copy files that DON'T import from local subdirectories that
|
|
256
|
+
# don't exist in the upstream tree. plugin.ts and native-bridge.ts
|
|
257
|
+
# load EXTERNALLY at runtime (they need packages not in the upstream).
|
|
255
258
|
for file in \
|
|
256
259
|
ai-sdk-provider.ts broker.ts capix-provider.ts credential-constants.ts \
|
|
257
|
-
|
|
258
|
-
plugin.ts sandbox.ts url-builder.ts; do
|
|
260
|
+
logger.ts url-builder.ts; do
|
|
259
261
|
if [ -f "$DIR/src/$file" ]; then
|
|
260
262
|
cp "$DIR/src/$file" "$CAPIX_CODE_DIR/packages/capix-code/src/$file"
|
|
261
263
|
fi
|
|
262
264
|
done
|
|
263
265
|
|
|
264
|
-
# Copy planner subdir
|
|
265
|
-
if [ -d "$DIR/src/planner" ]; then
|
|
266
|
-
mkdir -p "$CAPIX_CODE_DIR/packages/capix-code/src/planner"
|
|
267
|
-
cp -R "$DIR/src/planner/"* "$CAPIX_CODE_DIR/packages/capix-code/src/planner/"
|
|
268
|
-
fi
|
|
269
266
|
|
|
270
267
|
# Copy our runtime-provider package
|
|
271
268
|
mkdir -p "$CAPIX_CODE_DIR/packages/runtime-provider/src"
|