target-supabase-sdk 0.2.7 → 0.2.9
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 +4 -0
- package/dist/browser.js +2 -2
- package/dist/chunks/{enable-log-persist-C8AaEfW2.js → enable-log-persist-CKxXtE3K.js} +2 -2
- package/dist/chunks/{enable-log-persist-C8AaEfW2.js.map → enable-log-persist-CKxXtE3K.js.map} +1 -1
- package/dist/chunks/{list.api-9CyffUtf.js → list.api-6Q4_-7oN.js} +22 -7
- package/dist/chunks/list.api-6Q4_-7oN.js.map +1 -0
- package/dist/chunks/{task-queue-D3AGLocE.js → task-queue-D5uWjqVN.js} +2 -2
- package/dist/chunks/{task-queue-D3AGLocE.js.map → task-queue-D5uWjqVN.js.map} +1 -1
- package/dist/core.api.d.ts +7 -2
- package/dist/core.api.d.ts.map +1 -1
- package/dist/node/node-runtime.base.d.ts.map +1 -1
- package/dist/node.js +27 -14
- package/dist/node.js.map +1 -1
- package/dist/preload.js +2 -2
- package/package.json +3 -1
- package/src/core.api.ts +25 -11
- package/src/node/node-runtime.base.ts +20 -8
- package/dist/chunks/list.api-9CyffUtf.js.map +0 -1
package/README.md
CHANGED
|
@@ -251,12 +251,16 @@ Detailed conventions: `.cursor/skills/browser-node-exports/SKILL.md` and `.curso
|
|
|
251
251
|
```bash
|
|
252
252
|
pnpm install
|
|
253
253
|
pnpm typecheck
|
|
254
|
+
pnpm typecheck:scripts
|
|
254
255
|
pnpm format # Biome: format + lint + organize imports (write)
|
|
255
256
|
pnpm format:check # CI gate (read-only)
|
|
257
|
+
pnpm verify # typecheck + typecheck:scripts + format:check (same as pre-push)
|
|
256
258
|
pnpm build
|
|
257
259
|
pnpm dev
|
|
258
260
|
```
|
|
259
261
|
|
|
262
|
+
`pnpm install` sets `core.hooksPath` to `.githooks/`. Every `git push` (including `git push --tags`) runs `pnpm verify` first; fix with `pnpm format` then commit if format fails. Bypass only when intentional: `git push --no-verify`.
|
|
263
|
+
|
|
260
264
|
Verify the publishable tarball locally (runs `prepack` → full build):
|
|
261
265
|
|
|
262
266
|
```bash
|
package/dist/browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as BaseValidator, C as CREATE_TARGET_ALREADY_EXISTS_MESSAGE, a as CategoryList, L as LOG_BATCH_LOADER_KEY, b as LOG_PERSIST_LOADER_KEY, c as LogLevel, M as MAX_POLL_TARGET_LIST_SIZE, d as MAX_TARGET_LIST_PAGE_SIZE, O as OPTIMISTIC_LOCK_ERROR_CODE, e as OPTIMISTIC_LOCK_FAILED_MESSAGE, P as PostListValidator, S as StatusCode, f as createLogger, g as createTarget, h as deleteTarget, i as generateResponse, j as getPossibleTarget, k as getTarget, l as getTargetList, m as getTargetTotalCount, n as handleSupabaseError, o as isCreateTargetAlreadyExistsError, p as isDevEnvironment, q as isOptimisticLockError, r as isOptimisticLockResponse, s as logDev, t as logDevGroup, u as logManager, v as patchTarget, w as pollTargetList, x as postListCreate, y as postLogListCreate, z as postTarget, A as scanTargetList, D as supabase, E as updateTarget, F as updateTargetDetails, G as validateWith, H as validateWithSchema } from './chunks/list.api-
|
|
2
|
-
export { A as ApiMethod, C as CategoryConfig, a as CategoryExtraction, b as CategoryIdea, c as CategoryLink, d as CategoryNode, e as CategoryParcel, f as CategoryRepo, g as CategoryService, h as CategoryTask, D as DEFAULT_SYSTEM_REGISTRY_SEED_SLOTS, E as EMPTY_REGISTRY_SLOT_RUNTIME_STATE, M as Market, N as NodeStatus, P as POST_TASK_DEFAULT_MAX_ATTEMPTS, i as ParcelManager, j as PostLinkValidator, R as ResultCode, S as ServiceLifecycleStatus, k as ServiceRegistryError, l as ServiceSlotStatus, T as TARGET_SYSTEM_REGISTRY_KEY, m as TASK_REPO_USAGE, n as TaskStatus, o as TaskStatusAction, p as apiDetailsSchema, q as appendSystemRegistrySlots, r as assertRegistrySlotAvailable, s as assertRegistrySlotOwner, t as buildEmptyServiceSlots, u as buildSystemRegistryConfigDetails, v as claimServiceRegistrySlot, w as classifyNetworkError, x as countTasksByType, y as createActiveServiceLifecycle, z as createClaimedRegistrySlotRuntimeState, B as createStorageProviderRegistry, F as createUploadTracker, G as decodeLogBatch, H as decodeLogBatchList, I as defaultL3ServiceDetails, J as deleteParcel, K as deleteParcelSchema, L as evaluateBusyNodeLiveness, O as fetchBinaryWithRetry, Q as fetchWithRetry, U as fieldDefinitionSchema, V as flattenLogBatch, W as flattenLogBatches, X as formatNetworkError, Y as getApi, Z as getApiSchema, _ as getConfig, $ as getConfigSchema, a0 as getExtraction, a1 as getExtractionSchema, a2 as getParcel, a3 as getParcelSchema, a4 as getScanRemoteRepoValues, a5 as getScanRemoteRepoValuesSchema, a6 as getService, a7 as getServiceSchema, a8 as getTargetSystemRegistry, a9 as getValueAtPath, aa as installChunkFetchRegistry, ab as isHttpUrl, ac as isLocalFilesystemPath, ad as isLogBatchList, ae as isLogEntry, af as isOpaqueChunkUrl, ag as isRetryableHttpStatus, ah as parcelDetailsSchema, ai as parseLogBatchMeta, aj as parseProviderPrefixedUrl, ak as parseServiceSlot, al as parseServiceSlots, am as patchChangeNodeStatus, an as patchChangeNodeStatusSchema, ao as patchChangeTaskStatus, ap as patchChangeTaskStatusSchema, aq as patchClaimTask, ar as patchClaimTaskSchema, as as patchExtractionObjects, at as patchExtractionObjectsSchema, au as patchNodeHeartBeat, av as patchNodeHeartBeatSchema, aw as patchServiceRuntime, ax as patchStopNode, ay as patchStopNodeSchema, az as patchTaskProgress, aA as patchTaskProgressSchema, aB as postApi, aC as postApiSchema, aD as postExtraction, aE as postExtractionSchema, aF as postLinkCreate, aG as postParcel, aH as postParcelSchema, aI as postRegisterNode, aJ as postRegisterNodeSchema, aK as postService, aL as postServiceInstance, aM as postServiceSchema, aN as postSystemRegistryConfig, aO as postSystemRegistryConfigSchema, aP as postTask, aQ as postTaskSchema, aR as postTaskWithRetry, aS as publishParcel, aT as registerProviderChunkResolver, aU as registerService, aV as registerServiceAtStartup, aW as registrySlotRuntimePatchFromGuardResult, aX as releaseSystemRegistrySlots, aY as requestHasBody, aZ as resetSystemRegistryConfig, a_ as resetSystemRegistryConfigSchema, a$ as resolveActiveRegistryServiceId, b0 as resolveFetchUrl, b1 as restoreParcel, b2 as restoreParcelById, b3 as runRegistrySlotGuardCheck, b4 as sanitizeFileName, b5 as sanitizeParcelFileName, b6 as scanExtractionList, b7 as scanExtractionListSchema, b8 as schemaDefinitionSchema, b9 as serviceDetailsSchema, ba as serviceLifecycleSchema, bb as serviceNodeSnapshotSchema, bc as serviceRuntimeSchema, bd as sha256Hex, be as summarizeTaskQueue, bf as systemRegistrySeedSlotSchema, bg as unregisterService, bh as unregisterServiceAtShutdown } from './chunks/task-queue-
|
|
1
|
+
export { B as BaseValidator, C as CREATE_TARGET_ALREADY_EXISTS_MESSAGE, a as CategoryList, L as LOG_BATCH_LOADER_KEY, b as LOG_PERSIST_LOADER_KEY, c as LogLevel, M as MAX_POLL_TARGET_LIST_SIZE, d as MAX_TARGET_LIST_PAGE_SIZE, O as OPTIMISTIC_LOCK_ERROR_CODE, e as OPTIMISTIC_LOCK_FAILED_MESSAGE, P as PostListValidator, S as StatusCode, U as UPDATE_TARGET_NOT_FOUND_MESSAGE, f as createLogger, g as createTarget, h as deleteTarget, i as generateResponse, j as getPossibleTarget, k as getTarget, l as getTargetList, m as getTargetTotalCount, n as handleSupabaseError, o as isCreateTargetAlreadyExistsError, p as isDevEnvironment, q as isOptimisticLockError, r as isOptimisticLockResponse, s as logDev, t as logDevGroup, u as logManager, v as patchTarget, w as pollTargetList, x as postListCreate, y as postLogListCreate, z as postTarget, A as scanTargetList, D as supabase, E as updateTarget, F as updateTargetDetails, G as validateWith, H as validateWithSchema } from './chunks/list.api-6Q4_-7oN.js';
|
|
2
|
+
export { A as ApiMethod, C as CategoryConfig, a as CategoryExtraction, b as CategoryIdea, c as CategoryLink, d as CategoryNode, e as CategoryParcel, f as CategoryRepo, g as CategoryService, h as CategoryTask, D as DEFAULT_SYSTEM_REGISTRY_SEED_SLOTS, E as EMPTY_REGISTRY_SLOT_RUNTIME_STATE, M as Market, N as NodeStatus, P as POST_TASK_DEFAULT_MAX_ATTEMPTS, i as ParcelManager, j as PostLinkValidator, R as ResultCode, S as ServiceLifecycleStatus, k as ServiceRegistryError, l as ServiceSlotStatus, T as TARGET_SYSTEM_REGISTRY_KEY, m as TASK_REPO_USAGE, n as TaskStatus, o as TaskStatusAction, p as apiDetailsSchema, q as appendSystemRegistrySlots, r as assertRegistrySlotAvailable, s as assertRegistrySlotOwner, t as buildEmptyServiceSlots, u as buildSystemRegistryConfigDetails, v as claimServiceRegistrySlot, w as classifyNetworkError, x as countTasksByType, y as createActiveServiceLifecycle, z as createClaimedRegistrySlotRuntimeState, B as createStorageProviderRegistry, F as createUploadTracker, G as decodeLogBatch, H as decodeLogBatchList, I as defaultL3ServiceDetails, J as deleteParcel, K as deleteParcelSchema, L as evaluateBusyNodeLiveness, O as fetchBinaryWithRetry, Q as fetchWithRetry, U as fieldDefinitionSchema, V as flattenLogBatch, W as flattenLogBatches, X as formatNetworkError, Y as getApi, Z as getApiSchema, _ as getConfig, $ as getConfigSchema, a0 as getExtraction, a1 as getExtractionSchema, a2 as getParcel, a3 as getParcelSchema, a4 as getScanRemoteRepoValues, a5 as getScanRemoteRepoValuesSchema, a6 as getService, a7 as getServiceSchema, a8 as getTargetSystemRegistry, a9 as getValueAtPath, aa as installChunkFetchRegistry, ab as isHttpUrl, ac as isLocalFilesystemPath, ad as isLogBatchList, ae as isLogEntry, af as isOpaqueChunkUrl, ag as isRetryableHttpStatus, ah as parcelDetailsSchema, ai as parseLogBatchMeta, aj as parseProviderPrefixedUrl, ak as parseServiceSlot, al as parseServiceSlots, am as patchChangeNodeStatus, an as patchChangeNodeStatusSchema, ao as patchChangeTaskStatus, ap as patchChangeTaskStatusSchema, aq as patchClaimTask, ar as patchClaimTaskSchema, as as patchExtractionObjects, at as patchExtractionObjectsSchema, au as patchNodeHeartBeat, av as patchNodeHeartBeatSchema, aw as patchServiceRuntime, ax as patchStopNode, ay as patchStopNodeSchema, az as patchTaskProgress, aA as patchTaskProgressSchema, aB as postApi, aC as postApiSchema, aD as postExtraction, aE as postExtractionSchema, aF as postLinkCreate, aG as postParcel, aH as postParcelSchema, aI as postRegisterNode, aJ as postRegisterNodeSchema, aK as postService, aL as postServiceInstance, aM as postServiceSchema, aN as postSystemRegistryConfig, aO as postSystemRegistryConfigSchema, aP as postTask, aQ as postTaskSchema, aR as postTaskWithRetry, aS as publishParcel, aT as registerProviderChunkResolver, aU as registerService, aV as registerServiceAtStartup, aW as registrySlotRuntimePatchFromGuardResult, aX as releaseSystemRegistrySlots, aY as requestHasBody, aZ as resetSystemRegistryConfig, a_ as resetSystemRegistryConfigSchema, a$ as resolveActiveRegistryServiceId, b0 as resolveFetchUrl, b1 as restoreParcel, b2 as restoreParcelById, b3 as runRegistrySlotGuardCheck, b4 as sanitizeFileName, b5 as sanitizeParcelFileName, b6 as scanExtractionList, b7 as scanExtractionListSchema, b8 as schemaDefinitionSchema, b9 as serviceDetailsSchema, ba as serviceLifecycleSchema, bb as serviceNodeSnapshotSchema, bc as serviceRuntimeSchema, bd as sha256Hex, be as summarizeTaskQueue, bf as systemRegistrySeedSlotSchema, bg as unregisterService, bh as unregisterServiceAtShutdown } from './chunks/task-queue-D5uWjqVN.js';
|
|
3
3
|
import 'lodash-es';
|
|
4
4
|
import '@supabase/supabase-js';
|
|
5
5
|
import 'zod';
|
|
@@ -2,7 +2,7 @@ import { existsSync, readFileSync } from 'node:fs';
|
|
|
2
2
|
import { resolve, dirname, join } from 'node:path';
|
|
3
3
|
import { fileURLToPath } from 'node:url';
|
|
4
4
|
import { readFile, mkdir, writeFile, rename, readdir } from 'node:fs/promises';
|
|
5
|
-
import { f as createLogger, b as LOG_PERSIST_LOADER_KEY, a as CategoryList, y as postLogListCreate, o as isCreateTargetAlreadyExistsError, c as LogLevel, I as registerLogPersistOffer } from './list.api-
|
|
5
|
+
import { f as createLogger, b as LOG_PERSIST_LOADER_KEY, a as CategoryList, y as postLogListCreate, o as isCreateTargetAlreadyExistsError, c as LogLevel, I as registerLogPersistOffer } from './list.api-6Q4_-7oN.js';
|
|
6
6
|
import 'lodash-es';
|
|
7
7
|
import { createHash } from 'node:crypto';
|
|
8
8
|
|
|
@@ -1514,4 +1514,4 @@ function resolveLogPersistRegistryPath(registryDir) {
|
|
|
1514
1514
|
}
|
|
1515
1515
|
|
|
1516
1516
|
export { resolveProjectRootFromModule as A, CLI_PROD_FLAG as C, SERVICE_ENV_PROFILE_ENV_KEY as S, logPersistEnabledFromEnv as a, readEnv as b, requireEnv as c, createJsonFileStateStore as d, disableLogPersist as e, ensureLogPersistFromEnv as f, getLogPersistStats as g, SERVICE_ENV_PROFILE_PROD as h, enableLogPersist as i, envBool as j, envInt as k, loadEnvFiles as l, envMs as m, envNumber as n, envPort as o, pinEnvProfileFromArgv as p, envProfileFromProcess as q, resolveProjectRootByPackageName as r, snapshotLogPersistReady as s, parseEnvFile as t, parseEnvLine as u, validateLogPersistPreloadEnv as v, waitForLogPersistReady as w, pollUntil as x, resolveDefaultEnvFiles as y, resolveLogPersistRegistryPath as z };
|
|
1517
|
-
//# sourceMappingURL=enable-log-persist-
|
|
1517
|
+
//# sourceMappingURL=enable-log-persist-CKxXtE3K.js.map
|