@repome/sdk 0.1.6 → 0.1.7
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/index.d.mts +145 -0
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -9097,6 +9097,151 @@ declare const contract: {
|
|
|
9097
9097
|
}, $strip>;
|
|
9098
9098
|
};
|
|
9099
9099
|
}>, Record<never, never>>;
|
|
9100
|
+
cancelInvite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9101
|
+
orgSlug: ZodString;
|
|
9102
|
+
invitationId: ZodString;
|
|
9103
|
+
}, $strip>, ZodObject<{
|
|
9104
|
+
cancelled: ZodBoolean;
|
|
9105
|
+
}, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
9106
|
+
readonly BAD_REQUEST: {
|
|
9107
|
+
readonly status: 400;
|
|
9108
|
+
readonly message: "Bad request";
|
|
9109
|
+
readonly data: ZodOptional<ZodObject<{}, $strip>>;
|
|
9110
|
+
};
|
|
9111
|
+
readonly UNAUTHENTICATED: {
|
|
9112
|
+
readonly status: 401;
|
|
9113
|
+
readonly message: "Sign in required";
|
|
9114
|
+
readonly data: ZodOptional<ZodObject<{}, $strip>>;
|
|
9115
|
+
};
|
|
9116
|
+
readonly FORBIDDEN: {
|
|
9117
|
+
readonly status: 403;
|
|
9118
|
+
readonly message: "You do not have access to this resource";
|
|
9119
|
+
readonly data: ZodOptional<ZodObject<{
|
|
9120
|
+
reason: ZodOptional<ZodEnum<{
|
|
9121
|
+
not_a_member: "not_a_member";
|
|
9122
|
+
insufficient_role: "insufficient_role";
|
|
9123
|
+
scope_missing: "scope_missing";
|
|
9124
|
+
}>>;
|
|
9125
|
+
}, $strip>>;
|
|
9126
|
+
};
|
|
9127
|
+
readonly INVITATION_NOT_FOUND: {
|
|
9128
|
+
readonly status: 404;
|
|
9129
|
+
readonly message: "Invitation not found";
|
|
9130
|
+
readonly data: ZodObject<{
|
|
9131
|
+
invitationId: ZodString;
|
|
9132
|
+
}, $strip>;
|
|
9133
|
+
};
|
|
9134
|
+
readonly REPO_NOT_FOUND: {
|
|
9135
|
+
readonly status: 404;
|
|
9136
|
+
readonly message: "Repo not found";
|
|
9137
|
+
readonly data: ZodObject<{
|
|
9138
|
+
name: ZodString;
|
|
9139
|
+
}, $strip>;
|
|
9140
|
+
};
|
|
9141
|
+
readonly GIT_OBJECT_NOT_FOUND: {
|
|
9142
|
+
readonly status: 404;
|
|
9143
|
+
readonly message: "Git object not found";
|
|
9144
|
+
readonly data: ZodObject<{
|
|
9145
|
+
name: ZodString;
|
|
9146
|
+
object: ZodString;
|
|
9147
|
+
}, $strip>;
|
|
9148
|
+
};
|
|
9149
|
+
readonly REF_ALREADY_EXISTS: {
|
|
9150
|
+
readonly status: 409;
|
|
9151
|
+
readonly message: "Git ref already exists";
|
|
9152
|
+
readonly data: ZodObject<{
|
|
9153
|
+
name: ZodString;
|
|
9154
|
+
ref: ZodString;
|
|
9155
|
+
}, $strip>;
|
|
9156
|
+
};
|
|
9157
|
+
readonly STALE_REF: {
|
|
9158
|
+
readonly status: 409;
|
|
9159
|
+
readonly message: "Git ref is stale";
|
|
9160
|
+
readonly data: ZodObject<{
|
|
9161
|
+
name: ZodString;
|
|
9162
|
+
ref: ZodString;
|
|
9163
|
+
}, $strip>;
|
|
9164
|
+
};
|
|
9165
|
+
readonly NON_FAST_FORWARD: {
|
|
9166
|
+
readonly status: 422;
|
|
9167
|
+
readonly message: "Git ref update is not a fast-forward";
|
|
9168
|
+
readonly data: ZodObject<{
|
|
9169
|
+
name: ZodString;
|
|
9170
|
+
ref: ZodString;
|
|
9171
|
+
}, $strip>;
|
|
9172
|
+
};
|
|
9173
|
+
readonly INVALID_TREE: {
|
|
9174
|
+
readonly status: 422;
|
|
9175
|
+
readonly message: "Invalid git tree";
|
|
9176
|
+
readonly data: ZodObject<{
|
|
9177
|
+
name: ZodString;
|
|
9178
|
+
object: ZodString;
|
|
9179
|
+
}, $strip>;
|
|
9180
|
+
};
|
|
9181
|
+
readonly INVALID_PARENT: {
|
|
9182
|
+
readonly status: 422;
|
|
9183
|
+
readonly message: "Invalid git parent";
|
|
9184
|
+
readonly data: ZodObject<{
|
|
9185
|
+
name: ZodString;
|
|
9186
|
+
object: ZodString;
|
|
9187
|
+
}, $strip>;
|
|
9188
|
+
};
|
|
9189
|
+
readonly INVARIANT_WORKSPACE_REQUIRED: {
|
|
9190
|
+
readonly status: 503;
|
|
9191
|
+
readonly message: "Repo workspace is required for this git operation";
|
|
9192
|
+
readonly data: ZodObject<{
|
|
9193
|
+
name: ZodString;
|
|
9194
|
+
}, $strip>;
|
|
9195
|
+
};
|
|
9196
|
+
readonly GIT_REMOTE_WRITE_FAILED: {
|
|
9197
|
+
readonly status: 502;
|
|
9198
|
+
readonly message: "Git remote write failed";
|
|
9199
|
+
readonly data: ZodObject<{
|
|
9200
|
+
name: ZodString;
|
|
9201
|
+
ref: ZodString;
|
|
9202
|
+
}, $strip>;
|
|
9203
|
+
};
|
|
9204
|
+
readonly REPO_ALREADY_EXISTS: {
|
|
9205
|
+
readonly status: 409;
|
|
9206
|
+
readonly message: "Repo already exists";
|
|
9207
|
+
readonly data: ZodObject<{
|
|
9208
|
+
name: ZodString;
|
|
9209
|
+
}, $strip>;
|
|
9210
|
+
};
|
|
9211
|
+
readonly QUOTA_EXCEEDED: {
|
|
9212
|
+
readonly status: 429;
|
|
9213
|
+
readonly message: "Quota exceeded";
|
|
9214
|
+
readonly data: ZodObject<{
|
|
9215
|
+
scope: ZodEnum<{
|
|
9216
|
+
anon: "anon";
|
|
9217
|
+
org: "org";
|
|
9218
|
+
size: "size";
|
|
9219
|
+
}>;
|
|
9220
|
+
limit: ZodNumber;
|
|
9221
|
+
observed: ZodOptional<ZodNumber>;
|
|
9222
|
+
projected: ZodOptional<ZodNumber>;
|
|
9223
|
+
}, $strip>;
|
|
9224
|
+
};
|
|
9225
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
9226
|
+
readonly status: 413;
|
|
9227
|
+
readonly message: "Request payload exceeds the supported limit";
|
|
9228
|
+
readonly data: ZodObject<{
|
|
9229
|
+
scope: ZodEnum<{
|
|
9230
|
+
workspace_commit: "workspace_commit";
|
|
9231
|
+
git_workspace_memory: "git_workspace_memory";
|
|
9232
|
+
}>;
|
|
9233
|
+
limit: ZodNumber;
|
|
9234
|
+
observed: ZodOptional<ZodNumber>;
|
|
9235
|
+
}, $strip>;
|
|
9236
|
+
};
|
|
9237
|
+
readonly IMPORT_FAILED: {
|
|
9238
|
+
readonly status: 502;
|
|
9239
|
+
readonly message: "Repo import failed";
|
|
9240
|
+
readonly data: ZodObject<{
|
|
9241
|
+
name: ZodString;
|
|
9242
|
+
}, $strip>;
|
|
9243
|
+
};
|
|
9244
|
+
}>, Record<never, never>>;
|
|
9100
9245
|
setActive: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9101
9246
|
orgSlug: ZodString;
|
|
9102
9247
|
}, $strip>, ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repome/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Agent-native, GitHub-shaped forge — JavaScript SDK. Write files, commit, and push from any runtime with no clone required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@orpc/client": "^1.14.2",
|
|
39
39
|
"@orpc/contract": "^1.14.2",
|
|
40
|
-
"@repome/api": "0.1.
|
|
40
|
+
"@repome/api": "0.1.7"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^25.6.1",
|