@rigxyz/tapd 0.6.4 → 0.6.5
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/dist/bin.js +24 -2
- package/dist/bin.js.map +1 -1
- package/dist/{chunk-F3HYZR2Y.js → chunk-7RKYNS5V.js} +0 -0
- package/dist/chunk-7RKYNS5V.js.map +1 -0
- package/dist/index.d.ts +15 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
- package/dist/chunk-F3HYZR2Y.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import { GetBindingResponse, PrepareUploadRequest, PrepareUploadResponse, Comple
|
|
|
7
7
|
* Layers:
|
|
8
8
|
* 1. Built-in defaults — common secrets, dependencies, OS noise, and
|
|
9
9
|
* bulky generated artifacts (per design doc § "Large File Policy").
|
|
10
|
+
* Bulky media/archives are re-included under the top-level
|
|
11
|
+
* `attachments/` folder (chat attachments must sync).
|
|
10
12
|
* A user CAN override these via `!pattern` in their .tapignore.
|
|
11
13
|
* 2. Project .tapignore.
|
|
12
14
|
* 3. Always-excluded paths — Tap's own local metadata. These cannot be
|
|
@@ -553,6 +555,18 @@ type IntentAssignment = {
|
|
|
553
555
|
* watcher event (debounced).
|
|
554
556
|
*/
|
|
555
557
|
|
|
558
|
+
type NotSyncedFile = {
|
|
559
|
+
path: string;
|
|
560
|
+
reason: "quota_exceeded" | "file_too_large";
|
|
561
|
+
/** Hash of the refused bytes; absent for walker-level oversize skips. */
|
|
562
|
+
hash?: string;
|
|
563
|
+
size?: number;
|
|
564
|
+
/** The space's byte limit, for quota_exceeded. */
|
|
565
|
+
limitBytes?: number;
|
|
566
|
+
/** When these bytes were (last) refused. */
|
|
567
|
+
at: string;
|
|
568
|
+
};
|
|
569
|
+
declare function readNotSynced(stateDb: StateDb): NotSyncedFile[];
|
|
556
570
|
type ScanAndPushResult = {
|
|
557
571
|
/** Bytes uploaded this cycle. */
|
|
558
572
|
uploaded: number;
|
|
@@ -968,4 +982,4 @@ type DaemonHandle = {
|
|
|
968
982
|
};
|
|
969
983
|
declare function start(opts: StartOptions): Promise<DaemonHandle>;
|
|
970
984
|
|
|
971
|
-
export { type AddImportOptions, type AddImportResult, AlreadyInitializedError, AlreadyJoinedError, type ApplyMode, type ApplyResult, BINDING_CONFIG_PATH, BUILTIN_IGNORE_LINES, type BindingConfig, type DaemonHandle, type ImportHandle, type ImportMountFile, type ImportSpec, ImportTokenScopeError, type ImportValidationError, ImportValidationFailed, type InitOptions, type InitResult, InvalidInviteUrlError, type JoinOptions, type JoinResult, type LocalPathState, type MintInviteOptions, NotInitializedError, RelayClient, type RelayClientOptions, RelayError, type RemoveImportResult, STATE_KEY_CONFLICT_COUNT, type ScanAndPushResult, type SseSubscriber, type SseSubscriberOptions, type StartOptions, type StartSubscriptionOptions, type StateDb, type SubscriptionConfig, type SubscriptionHandle, type WalkFile, type WalkResult, type WalkWarning, addImport, applyOnce, bindingConfigFile, conflictSidecarPath, createBinding, hashFile, importMountFile, importStateDbPath, importsDir, init, isAlwaysExcluded, join, list as listInvites, loadIgnore, loadImportMounts, mint as mintInvite, normalizeImportPath, openStateDb, parseInviteUrl, primaryStateDbPath, readBindingConfig, readImportMount, removeImport, revoke as revokeInvite, scanAndPush, subscribe as sseSubscribe, start, startSubscription, validateImportName, validateImportPath, validateImports, walk, writeBindingConfig, writeImportMount };
|
|
985
|
+
export { type AddImportOptions, type AddImportResult, AlreadyInitializedError, AlreadyJoinedError, type ApplyMode, type ApplyResult, BINDING_CONFIG_PATH, BUILTIN_IGNORE_LINES, type BindingConfig, type DaemonHandle, type ImportHandle, type ImportMountFile, type ImportSpec, ImportTokenScopeError, type ImportValidationError, ImportValidationFailed, type InitOptions, type InitResult, InvalidInviteUrlError, type JoinOptions, type JoinResult, type LocalPathState, type MintInviteOptions, NotInitializedError, type NotSyncedFile, RelayClient, type RelayClientOptions, RelayError, type RemoveImportResult, STATE_KEY_CONFLICT_COUNT, type ScanAndPushResult, type SseSubscriber, type SseSubscriberOptions, type StartOptions, type StartSubscriptionOptions, type StateDb, type SubscriptionConfig, type SubscriptionHandle, type WalkFile, type WalkResult, type WalkWarning, addImport, applyOnce, bindingConfigFile, conflictSidecarPath, createBinding, hashFile, importMountFile, importStateDbPath, importsDir, init, isAlwaysExcluded, join, list as listInvites, loadIgnore, loadImportMounts, mint as mintInvite, normalizeImportPath, openStateDb, parseInviteUrl, primaryStateDbPath, readBindingConfig, readImportMount, readNotSynced, removeImport, revoke as revokeInvite, scanAndPush, subscribe as sseSubscribe, start, startSubscription, validateImportName, validateImportPath, validateImports, walk, writeBindingConfig, writeImportMount };
|
package/dist/index.js
CHANGED
|
@@ -33,6 +33,7 @@ import {
|
|
|
33
33
|
primaryStateDbPath,
|
|
34
34
|
readBindingConfig,
|
|
35
35
|
readImportMount,
|
|
36
|
+
readNotSynced,
|
|
36
37
|
removeImport,
|
|
37
38
|
revoke,
|
|
38
39
|
scanAndPush,
|
|
@@ -45,7 +46,7 @@ import {
|
|
|
45
46
|
walk,
|
|
46
47
|
writeBindingConfig,
|
|
47
48
|
writeImportMount
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-7RKYNS5V.js";
|
|
49
50
|
export {
|
|
50
51
|
AlreadyInitializedError,
|
|
51
52
|
AlreadyJoinedError,
|
|
@@ -80,6 +81,7 @@ export {
|
|
|
80
81
|
primaryStateDbPath,
|
|
81
82
|
readBindingConfig,
|
|
82
83
|
readImportMount,
|
|
84
|
+
readNotSynced,
|
|
83
85
|
removeImport,
|
|
84
86
|
revoke as revokeInvite,
|
|
85
87
|
scanAndPush,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rigxyz/tapd",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "Local daemon for the hosted Tap relay — watches files, hashes content, uploads/downloads objects, applies remote changes. Pairs with @rigxyz/cli for shared-rig sync.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Dylan Bourgeois <dtsbourg@gmail.com>",
|